Look up route for every peer
This commit is contained in:
parent
659106bd6d
commit
0fb14232fa
3 changed files with 90 additions and 61 deletions
|
|
@ -81,7 +81,7 @@ func listenNet(network string, port int) (*net.UDPConn, int, error) {
|
|||
return conn, uaddr.Port, nil
|
||||
}
|
||||
|
||||
func CreateBind(uport uint16) (Bind, uint16, error) {
|
||||
func CreateBind(uport uint16, device *Device) (Bind, uint16, error) {
|
||||
var err error
|
||||
var bind NativeBind
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue