diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/tcpip/link/tunnel/gre.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/link/tunnel/gre.go b/pkg/tcpip/link/tunnel/gre.go index 604a38e76..c62cfa283 100644 --- a/pkg/tcpip/link/tunnel/gre.go +++ b/pkg/tcpip/link/tunnel/gre.go @@ -135,8 +135,8 @@ func (e *Endpoint) Start(s *stack.Stack, laddr, raddr *tcpip.Address) { } log.Println("EP: %s", rawEp) - fraddr := tcpip.FullAddress{NIC: 1, Addr: *raddr} - flAddr := tcpip.FullAddress{NIC: 1, Addr: *laddr} + fraddr := tcpip.FullAddress{NIC: 0, Addr: *raddr} + flAddr := tcpip.FullAddress{NIC: 0, Addr: *laddr} tcperr = rawEp.Bind(flAddr) if tcperr != nil { log.Fatal(tcperr) |