mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
BSD: Minor fix of penultimate commit
This commit is contained in:
@@ -1144,7 +1144,7 @@ kif_update_sysdep_addr(struct iface *i)
|
||||
return 0;
|
||||
|
||||
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user