summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/sample/tun_tcp_connect
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2021-01-23 20:48:50 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2021-01-23 21:43:01 +0100
commit2f6665827dd0c9f44d4007dfc7b4e76bed5854f5 (patch)
tree20b911e2a4ee0151830b9d66e99f650e8f9e4358 /pkg/tcpip/sample/tun_tcp_connect
parent25c126c907e589e2eddcee265eb0418b5b517c47 (diff)
gre: clean up Bind
Diffstat (limited to 'pkg/tcpip/sample/tun_tcp_connect')
-rw-r--r--pkg/tcpip/sample/tun_tcp_connect/main.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/tcpip/sample/tun_tcp_connect/main.go b/pkg/tcpip/sample/tun_tcp_connect/main.go
index 762c6dc29..4707585d1 100644
--- a/pkg/tcpip/sample/tun_tcp_connect/main.go
+++ b/pkg/tcpip/sample/tun_tcp_connect/main.go
@@ -266,7 +266,6 @@ func main() {
s.SetTransportProtocolHandler(header.GREProtocolNumber, greFwd.HandlePacket)
go greInfo.greRead(chEP)
- //greEP.Bind(s, greIP)
if err := s.CreateNIC(2, sniffer.New(greEP)); err != nil {
log.Fatal(err)
}