mirror of https://github.com/vishvananda/netlink
Fix return of address family in parseAddr helper.
I broke return of family in commit 9462941794
This commit is contained in:
parent
adb0f53af6
commit
148ac55d0a
|
@ -127,6 +127,7 @@ func parseAddr(m []byte) (addr Addr, family, index int, err error) {
|
|||
return
|
||||
}
|
||||
|
||||
family = int(msg.Family)
|
||||
index = int(msg.Index)
|
||||
|
||||
var local, dst *net.IPNet
|
||||
|
|
Loading…
Reference in New Issue