summaryrefslogtreecommitdiffstats
path: root/ip/iproute.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 14:59:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 14:59:00 +0000
commitd47129cf707fac663264651c7112992bc3265003 (patch)
treecc8dc1693e8bd981bf2cc0107c25305f9999f00c /ip/iproute.c
parentReleasing progress-linux version 6.8.0-1~progress7.99u1. (diff)
downloadiproute2-d47129cf707fac663264651c7112992bc3265003.tar.xz
iproute2-d47129cf707fac663264651c7112992bc3265003.zip
Merging upstream version 6.9.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ip/iproute.c')
-rw-r--r--ip/iproute.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ip/iproute.c b/ip/iproute.c
index 73dbab4..b530461 100644
--- a/ip/iproute.c
+++ b/ip/iproute.c
@@ -61,12 +61,13 @@ static void usage(void)
" ip route save SELECTOR\n"
" ip route restore\n"
" ip route showdump\n"
- " ip route get [ ROUTE_GET_FLAGS ] ADDRESS\n"
+ " ip route get [ ROUTE_GET_FLAGS ] [ to ] ADDRESS\n"
" [ from ADDRESS iif STRING ]\n"
" [ oif STRING ] [ tos TOS ]\n"
" [ mark NUMBER ] [ vrf NAME ]\n"
" [ uid NUMBER ] [ ipproto PROTOCOL ]\n"
" [ sport NUMBER ] [ dport NUMBER ]\n"
+ " [ as ADDRESS ]\n"
" ip route { add | del | change | append | replace } ROUTE\n"
"SELECTOR := [ root PREFIX ] [ match PREFIX ] [ exact PREFIX ]\n"
" [ table TABLE_ID ] [ vrf NAME ] [ proto RTPROTO ]\n"
@@ -112,7 +113,8 @@ static void usage(void)
"FLAVOR := { psp | usp | usd | next-csid }\n"
"IOAM6HDR := trace prealloc type IOAM6_TRACE_TYPE ns IOAM6_NAMESPACE size IOAM6_TRACE_SIZE\n"
"XFRMINFO := if_id IF_ID [ link_dev LINK ]\n"
- "ROUTE_GET_FLAGS := [ fibmatch ]\n");
+ "ROUTE_GET_FLAGS := ROUTE_GET_FLAG [ ROUTE_GET_FLAGS ]\n"
+ "ROUTE_GET_FLAG := [ connected | fibmatch | notify ]\n");
exit(-1);
}