zebra: hide netlink warning message

Signed-off-by: Jorge Boncompte <jbonor@gmail.com>
This commit is contained in:
Jorge Boncompte 2017-07-25 14:49:14 +02:00
parent 925c2f8853
commit 109b90f525

View File

@ -262,8 +262,9 @@ static int netlink_information_fetch(struct sockaddr_nl *snl,
return netlink_neigh_change(snl, h, ns_id);
break;
default:
zlog_warn("Unknown netlink nlmsg_type %d vrf %u\n",
h->nlmsg_type, ns_id);
if (IS_ZEBRA_DEBUG_KERNEL)
zlog_debug("Unknown netlink nlmsg_type %d vrf %u\n",
h->nlmsg_type, ns_id);
break;
}
return 0;