mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-09 12:48:43 +00:00
Do not repeat 'Invalid broadcast address' error message.
'Invalid broadcast address' error is reported only once for an interface and not during every interface scan.
This commit is contained in:
parent
d7f3b30649
commit
4c94a6c7e7
@ -385,7 +385,7 @@ nl_parse_addr(struct nlmsghdr *h)
|
||||
ipa_ntoh(xbrd);
|
||||
if (ipa_equal(xbrd, ifa.prefix) || ipa_equal(xbrd, ifa.brd))
|
||||
ifa.brd = xbrd;
|
||||
else
|
||||
else if (ifi->flags & IF_TMP_DOWN) /* Complain only during the first scan */
|
||||
log(L_ERR "KIF: Invalid broadcast address %I for %s", xbrd, ifi->name);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user