arp: report successful deletion via netlink to mimic rtsock.

This commit is contained in:
Alexander V. Chernikov 2023-04-26 12:29:43 +00:00
parent f8c451d291
commit 52199877a6

View file

@ -359,7 +359,9 @@ delete_nl(uint32_t ifindex, char *host)
xo_warnx("delete %s: %s (%s)", host, strerror(e.error), e.error_str);
else
xo_warnx("delete %s: %s", host, strerror(e.error));
}
} else
printf("%s (%s) deleted\n", host, inet_ntoa(dst->sin_addr));
snl_free(&ss);
return (e.error != 0);