]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
ipmonitor: Mention "nexthop" object in help and man page
authorIdo Schimmel <idosch@nvidia.com>
Thu, 7 Jan 2021 15:23:27 +0000 (17:23 +0200)
committerDavid Ahern <dsahern@kernel.org>
Sun, 10 Jan 2021 17:17:32 +0000 (17:17 +0000)
Before:

 # ip monitor help
 Usage: ip monitor [ all | LISTofOBJECTS ] [ FILE ] [ label ] [all-nsid] [dev DEVICE]
 LISTofOBJECTS := link | address | route | mroute | prefix |
                  neigh | netconf | rule | nsid
 FILE := file FILENAME

After:

 # ip monitor help
 Usage: ip monitor [ all | LISTofOBJECTS ] [ FILE ] [ label ] [all-nsid] [dev DEVICE]
 LISTofOBJECTS := link | address | route | mroute | prefix |
                  neigh | netconf | rule | nsid | nexthop
 FILE := file FILENAME

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/ipmonitor.c
man/man8/ip-monitor.8

index 685be52cfe64c527840f23a663db08afa9debb97..99f5fda8ba1f685330247662f2685bfb34b6598f 100644 (file)
@@ -32,7 +32,7 @@ static void usage(void)
        fprintf(stderr,
                "Usage: ip monitor [ all | LISTofOBJECTS ] [ FILE ] [ label ] [all-nsid] [dev DEVICE]\n"
                "LISTofOBJECTS := link | address | route | mroute | prefix |\n"
-               "                neigh | netconf | rule | nsid\n"
+               "                neigh | netconf | rule | nsid | nexthop\n"
                "FILE := file FILENAME\n");
        exit(-1);
 }
index 86f8f9885fefea390ea96e8d64eefbebb28fd456..f886d31b80133c35ea82cf72a50b08a616ae2212 100644 (file)
@@ -55,7 +55,7 @@ command is the first in the command line and then the object list follows:
 is the list of object types that we want to monitor.
 It may contain
 .BR link ", " address ", " route ", " mroute ", " prefix ", "
-.BR neigh ", " netconf ", "  rule " and " nsid "."
+.BR neigh ", " netconf ", "  rule ", " nsid " and " nexthop "."
 If no
 .B file
 argument is given,