From 98de747953cac378efbbf4ca5926b7f30c8300fe Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Fri, 13 Mar 2020 17:38:12 +0100 Subject: WIP fix handlePacket call --- pkg/tcpip/stack/nic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } } -- cgit v1.2.3