]> git.meshlink.io Git - catta/commitdiff
remove a bogus warning
authorLennart Poettering <lennart@poettering.net>
Sat, 2 Sep 2006 16:32:46 +0000 (16:32 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 2 Sep 2006 16:32:46 +0000 (16:32 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1312 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-autoipd/main.c

index 72ee904e740ca375fac212c6be663027c4a0af50..bc0ee26d2343702639a2e841c6a79fa9dbba1fda 100644 (file)
@@ -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) {