diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2008-10-26 23:23:09 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2008-10-26 23:23:09 +0100 |
commit | 4c94a6c7e78fb75a9952d891db9d47605f8a26e1 (patch) | |
tree | ab8f4b49465b5fd5075a5c81e7f48ea14bdca1ac /sysdep/linux | |
parent | d7f3b306495327e76aa9ae381c6c7575104e0e24 (diff) |
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.
Diffstat (limited to 'sysdep/linux')
-rw-r--r-- | sysdep/linux/netlink/netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c index 4ab7fb10..47841955 100644 --- a/sysdep/linux/netlink/netlink.c +++ b/sysdep/linux/netlink/netlink.c @@ -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 |