From 39ca4879a09aa0a8d0ba5695657ff18fbae734c6 Mon Sep 17 00:00:00 2001 From: Roopa Prabhu Date: Thu, 15 Oct 2015 11:47:43 -0700 Subject: [PATCH] ip monitor neigh: Change 'delete' to 'Deleted' to be consistent with ip route It helps to grep for one string "Deleted" when monitoring all events. Fixes: 6ea3ebafe077 ("iproute2: inform user when a neighbor is removed") Signed-off-by: Roopa Prabhu Acked-by: Nicolas Dichtel --- ip/ipneigh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ip/ipneigh.c b/ip/ipneigh.c index a9e23f45..ce57edeb 100644 --- a/ip/ipneigh.c +++ b/ip/ipneigh.c @@ -256,7 +256,7 @@ int print_neigh(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) } if (n->nlmsg_type == RTM_DELNEIGH) - fprintf(fp, "delete "); + fprintf(fp, "Deleted "); else if (n->nlmsg_type == RTM_GETNEIGH) fprintf(fp, "miss "); if (tb[NDA_DST]) {