]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ipneigh: update man page and help for router
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Sun, 30 Sep 2018 02:48:11 +0000 (19:48 -0700)
committerDavid Ahern <dsahern@gmail.com>
Tue, 2 Oct 2018 00:36:35 +0000 (17:36 -0700)
While at it also add missing text for proxy in the man page.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
ip/ipneigh.c
man/man8/ip-neighbour.8

index 5747152251a453ca80414ba611d5dc38faf60b42..165546e478c123d49acd9fb413f5b609591676eb 100644 (file)
@@ -48,6 +48,7 @@ static void usage(void)
 {
        fprintf(stderr, "Usage: ip neigh { add | del | change | replace }\n"
                        "                { ADDR [ lladdr LLADDR ] [ nud STATE ] | proxy ADDR } [ dev DEV ]\n");
+       fprintf(stderr, "                                 [ router ]\n\n");
        fprintf(stderr, "       ip neigh { show | flush } [ proxy ] [ to PREFIX ] [ dev DEV ] [ nud STATE ]\n");
        fprintf(stderr, "                                 [ vrf NAME ]\n\n");
        fprintf(stderr, "STATE := { permanent | noarp | stale | reachable | none |\n"
index bbfe8e72a09c989dacee1fb1512d8f4e7aa3283d..db286d181f0fcea686959462eaa42f33284b4f2e 100644 (file)
@@ -23,7 +23,8 @@ ip-neighbour \- neighbour/arp tables management.
 .B proxy
 .IR ADDR " } [ "
 .B  dev
-.IR DEV " ]"
+.IR DEV " ] [ "
+.BR router " ] "
 
 .ti -8
 .BR "ip neigh" " { " show " | " flush " } [ " proxy " ] [ " to
@@ -75,6 +76,14 @@ the protocol address of the neighbour. It is either an IPv4 or IPv6 address.
 .BI dev " NAME"
 the interface to which this neighbour is attached.
 
+.TP
+.BI proxy
+indicates whether we are proxying for this neigbour entry
+
+.TP
+.BI router
+indicates whether neigbour is a router
+
 .TP
 .BI lladdr " LLADDRESS"
 the link layer address of the neighbour.