Commit dfb23b3f authored by Simon Kelley's avatar Simon Kelley

Don't report spurious netlink errors.

parent b269221c
......@@ -13,6 +13,9 @@ version 2.64
Fix broken vendor-option processing for BOOTP. Thanks to
Hans-Joachim Baader for the bug report.
Don't report spurious netlink errors, regression in
2.63. Thanks to Vladislav Grishenko for the patch.
version 2.63
Do duplicate dhcp-host address check in --test mode.
......
......@@ -336,6 +336,7 @@ static int nl_async(struct nlmsghdr *h)
if (h->nlmsg_type == NLMSG_ERROR)
{
struct nlmsgerr *err = NLMSG_DATA(h);
if (err->error != 0)
my_syslog(LOG_ERR, _("netlink returns error: %s"), strerror(-(err->error)));
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment