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: 6ea3ebafe0 ("iproute2: inform user when a neighbor is removed")
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
This commit is contained in:
parent
303cc9cbee
commit
39ca4879a0
|
|
@ -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]) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue