From: Lennart Poettering Date: Sat, 2 Sep 2006 16:32:46 +0000 (+0000) Subject: remove a bogus warning X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=4638c9afcb14dffca2d0f1749660c68a14f9f65d;p=catta remove a bogus warning git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1312 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-autoipd/main.c b/avahi-autoipd/main.c index 72ee904..bc0ee26 100644 --- a/avahi-autoipd/main.c +++ b/avahi-autoipd/main.c @@ -943,7 +943,9 @@ static int loop(int iface, uint32_t addr) { } else if (state == STATE_WAITING_PROBE || state == STATE_PROBING || state == STATE_WAITING_ANNOUNCE) { /* Probe conflict */ conflict = info.target_ip_address == addr && memcmp(hw_address, info.sender_hw_address, ETHER_ADDRLEN); - daemon_log(LOG_INFO, "Recieved conflicting probe ARP packet."); + + if (conflict) + daemon_log(LOG_INFO, "Recieved conflicting probe ARP packet."); } if (conflict) {