From 4638c9afcb14dffca2d0f1749660c68a14f9f65d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 2 Sep 2006 16:32:46 +0000 Subject: [PATCH] remove a bogus warning git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1312 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-autoipd/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- 2.39.5