Add a comment to Router's Start method
This commit is contained in:
1 parent
5d2d857dbe
commit
225e6871e3
1 file changed
+2
@@ -72,6 +72,8 @@ func NewRouter(config RouterConfig, name PeerName, nickName string) *Router {
|
|||||||
return router
|
return router
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Start listening for packets from containers, TCP connections and
|
||||||
|
// packets forwarded over UDP.
|
||||||
func (router *Router) Start() {
|
func (router *Router) Start() {
|
||||||
// we need two pcap handles since they aren't thread-safe
|
// we need two pcap handles since they aren't thread-safe
|
||||||
var pio PacketSourceSink
|
var pio PacketSourceSink
|
||||||
|
|||||||
Reference in new issue
Block a user