summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2020-03-13 17:38:12 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2020-03-17 20:06:04 +0100
commit98de747953cac378efbbf4ca5926b7f30c8300fe (patch)
tree84186c00882df150e734fe08edcd0fdc78ae7be0 /pkg
parentbc8ef0851dee085d2c7aada1fad1286f75889a99 (diff)
WIP fix handlePacket call
Diffstat (limited to 'pkg')
-rw-r--r--pkg/tcpip/stack/nic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/nic.go b/pkg/tcpip/stack/nic.go
index 2da17812e..2b0e849a6 100644
--- a/pkg/tcpip/stack/nic.go
+++ b/pkg/tcpip/stack/nic.go
@@ -1241,7 +1241,7 @@ func (n *NIC) DeliverNetworkPacket(linkEP LinkEndpoint, remote, local tcpip.Link
// Implement weak host model when forwarding is enabled
for _, nic := range n.stack.nics {
if ref := nic.getRef(protocol, dst); ref != nil {
- handlePacket(n, protocol, dst, src, linkEP.LinkAddress(), remote, ref, pkt)
+ handlePacket(protocol, dst, src, linkEP.LinkAddress(), remote, ref, pkt)
return
}
}