git: 52199877a658 - main - arp: report successful deletion via netlink to mimic rtsock.

From: Alexander V. Chernikov <melifaro_at_FreeBSD.org>
Date: Wed, 26 Apr 2023 13:27:01 UTC
The branch main has been updated by melifaro:

URL: https://cgit.FreeBSD.org/src/commit/?id=52199877a658842f81f1e997205ff26fb781a5a0

commit 52199877a658842f81f1e997205ff26fb781a5a0
Author:     Alexander V. Chernikov <melifaro@FreeBSD.org>
AuthorDate: 2023-04-26 12:29:43 +0000
Commit:     Alexander V. Chernikov <melifaro@FreeBSD.org>
CommitDate: 2023-04-26 13:26:37 +0000

    arp: report successful deletion via netlink to mimic rtsock.
---
 usr.sbin/arp/arp_netlink.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/usr.sbin/arp/arp_netlink.c b/usr.sbin/arp/arp_netlink.c
index 6e9ffce52608..30df255b591b 100644
--- a/usr.sbin/arp/arp_netlink.c
+++ b/usr.sbin/arp/arp_netlink.c
@@ -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);