From 5b7666a850ef9ef38f6a028cc90e3db6a853d5c5 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Wed, 20 Aug 2014 11:01:18 +0100 Subject: [PATCH] cosmetic --- router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router.go b/router.go index fecf4d2f..51074430 100644 --- a/router.go +++ b/router.go @@ -142,7 +142,7 @@ func (router *Router) acceptTCP(tcpConn *net.TCPConn) { NewLocalConnection(connRemote, UnknownPeerName, tcpConn, nil, router) } - func (router *Router) listenUDP(localPort int, handle *pcap.Handle) *net.UDPConn { +func (router *Router) listenUDP(localPort int, handle *pcap.Handle) *net.UDPConn { localAddr, err := net.ResolveUDPAddr("udp4", fmt.Sprint(":", localPort)) checkFatal(err) conn, err := net.ListenUDP("udp4", localAddr)