Fix return of address family in parseAddr helper.

I broke return of family in commit 9462941794
This commit is contained in:
Everton Marques 2016-03-21 14:14:59 -03:00
parent adb0f53af6
commit 148ac55d0a
1 changed files with 1 additions and 0 deletions

View File

@ -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