summaryrefslogtreecommitdiffstats
path: root/avahi-autoipd/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-09-02 16:32:46 +0000
committerLennart Poettering <lennart@poettering.net>2006-09-02 16:32:46 +0000
commit4638c9afcb14dffca2d0f1749660c68a14f9f65d (patch)
treeb9ca64c3549253bc3510007c07f39b46050840c4 /avahi-autoipd/main.c
parentdeb30fa40d8131132d2d05b4439a0d773766f21b (diff)
remove a bogus warning
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1312 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-autoipd/main.c')
-rw-r--r--avahi-autoipd/main.c4
1 files changed, 3 insertions, 1 deletions
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) {