From: Jonathan McDowell Date: Mon, 11 Jun 2018 20:36:15 +0000 (+0100) Subject: Silently drop RTM_DELNEIGH/RTM_GETNEIGH messages X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=e6c7ebbe87ce08a21b3b5d77b82f7a03efa32e88;p=mqtt-arp.git Silently drop RTM_DELNEIGH/RTM_GETNEIGH messages Rather than printing that we don't understand these messages, silently drop them. --- diff --git a/mqtt-arp.c b/mqtt-arp.c index ba977b4..71d8567 100644 --- a/mqtt-arp.c +++ b/mqtt-arp.c @@ -210,6 +210,7 @@ void main_loop(struct ma_config *config, struct mosquitto *mosq, int sock) break; case RTM_DELNEIGH: case RTM_GETNEIGH: + break; default: printf("Unknown message type: %d\n", hdr->nlmsg_type); }