From: Roopa Prabhu Date: Thu, 15 Oct 2015 18:47:43 +0000 (-0700) Subject: ip monitor neigh: Change 'delete' to 'Deleted' to be consistent with ip route X-Git-Tag: v4.3.0~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39ca4879a09aa0a8d0ba5695657ff18fbae734c6;p=thirdparty%2Fiproute2.git 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 --- diff --git a/ip/ipneigh.c b/ip/ipneigh.c index a9e23f450..ce57edeba 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]) {