0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

BSD: Minor fix of penultimate commit

This commit is contained in:
Ondrej Zajicek (work) 2017-12-07 13:44:00 +01:00
parent abae1cc58b
commit 7c454d9186

View File

@ -1144,7 +1144,7 @@ kif_update_sysdep_addr(struct iface *i)
return 0; return 0;
ip4_addr old = i->sysdep; ip4_addr old = i->sysdep;
i->sysdep = ip4_from_ipa(ipa_from_sa4(&ifr.ifr_addr); i->sysdep = ipa_to_ip4(ipa_from_sa4(&ifr.ifr_addr));
return !ip4_equal(i->sysdep, addr); return !ip4_equal(i->sysdep, old);
} }