diff options
| author | Roy Marples <roy@marples.name> | 2007-11-09 16:55:00 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-11-09 16:55:00 +0000 |
| commit | e669863c75ef3865986aacb17581ca03a6018946 (patch) | |
| tree | 65d69bddea0570661cf5c61fe2b4972a8a4decf5 /arp.c | |
| parent | b0e24b8d2184d574f385896537485a8a6a317687 (diff) | |
| download | dhcpcd-e669863c75ef3865986aacb17581ca03a6018946.tar.xz | |
Don't spam the log as much when constantly using IPV4LL addresses.
Diffstat (limited to 'arp.c')
| -rw-r--r-- | arp.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -100,8 +100,10 @@ int arp_claim (interface_t *iface, struct in_addr address) return (0); } - logger (LOG_INFO, "checking %s is available on attached networks", - inet_ntoa (address)); + if (! IN_LINKLOCAL (ntohl (iface->previous_address.s_addr)) && + ! IN_LINKLOCAL (ntohl (address.s_addr))) + logger (LOG_INFO, "checking %s is available on attached networks", + inet_ntoa (address)); if (! open_socket (iface, true)) return (-1); |
