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:31:16 -07:00
committed by gVisor bot
parent af90e68623
commit eac690e358
+1 -3
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
}