Skip to content

Commit

Permalink
Fix netstack build error on non-AMD64.
Browse files Browse the repository at this point in the history
This stub had the wrong function signature.

PiperOrigin-RevId: 262992682
  • Loading branch information
iangudger authored and gvisor-bot committed Aug 12, 2019
1 parent af90e68 commit eac690e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/tcpip/link/fdbased/mmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@

package fdbased

import "gvisor.dev/gvisor/pkg/tcpip"

// Stubbed out version for non-linux/non-amd64 platforms.

func newPacketMMapDispatcher(fd int, e *endpoint) (linkDispatcher, *tcpip.Error) {
func newPacketMMapDispatcher(fd int, e *endpoint) (linkDispatcher, error) {
return nil, nil
}

0 comments on commit eac690e

Please sign in to comment.