Fix netstack build error on non-AMD64.

This stub had the wrong function signature.

PiperOrigin-RevId: 262992682
This commit is contained in:
Ian Gudger 2019-08-12 13:29:47 -07:00 committed by gVisor bot
parent af90e68623
commit eac690e358
1 changed files with 1 additions and 3 deletions

View File

@ -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
}