summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2021-01-24 00:00:55 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2021-01-24 00:00:55 +0100
commit920d615f275e27114e5c0bb4ed76f9b578c4095e (patch)
tree5c3c67d92bd4f0a63b822beb4e0c02cace80936d /pkg
parentbe329e49801500163b8ffbd98a6635d7a590b266 (diff)
Use NIC 0
Diffstat (limited to 'pkg')
-rw-r--r--pkg/tcpip/link/tunnel/gre.go4
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)