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:
parent
abae1cc58b
commit
7c454d9186
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user