ip monitor neigh: Change 'delete' to 'Deleted' to be consistent with ip route
Subsystems (2)
PATCH 1/1 ip monitor neigh: Change 'delete' to 'Deleted' to be consistent with ip route
From: Roopa Prabhu <[email protected]>
It helps to grep for one string "Deleted" when monitoring all events.
---
I am not sure if it is too late for this change. But, sending this patch out because it only affects ip monitor output
ip/ipneigh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ip/ipneigh.c +1 -1
@@ -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 ]) {
Signature · 1 line
1.9.1
Quoted 6 lines · Roopa Prabhu
From: Roopa Prabhu <[email protected]>
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 <[email protected]>
Quoted 3 lines
---
I am not sure if it is too late for this change. But, sending this patch out because it only affects ip monitor output
Seems reasonable to me, but I let Stephen speaking at this.
Quoted 10 lines · On Thu, 15 Oct 2015 11:47:43 -0700 Roopa Prabhu <[email protected]>…
From: Roopa Prabhu <[email protected]>
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 <[email protected]>---
I am not sure if it is too late for this change. But, sending this patch out because it only affects ip monitor output
Sure applied.