]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ip-rule: neither prohibit nor reject or unreachable flags exist
authorPhil Sutter <phil@nwl.cc>
Thu, 15 Oct 2015 20:32:17 +0000 (22:32 +0200)
committerStephen Hemminger <shemming@brocade.com>
Mon, 19 Oct 2015 04:57:01 +0000 (21:57 -0700)
This has been inconsistent since the beginning of Git and seems to be
merely a documentation leftover, therefore just remove it from help
output and man page.

Signed-off-by: Phil Sutter <phil@nwl.cc>
ip/iprule.c
man/man8/ip-rule.8

index 714278a2be58af0b2c6a80373110e69f9824f486..2fa9ade9bd23baac04c2f4c0c823c1c9cc8d347b 100644 (file)
@@ -36,7 +36,6 @@ static void usage(void)
        fprintf(stderr, "SELECTOR := [ not ] [ from PREFIX ] [ to PREFIX ] [ tos TOS ] [ fwmark FWMARK[/MASK] ]\n");
        fprintf(stderr, "            [ iif STRING ] [ oif STRING ] [ pref NUMBER ]\n");
        fprintf(stderr, "ACTION := [ table TABLE_ID ]\n");
-       fprintf(stderr, "          [ prohibit | reject | unreachable ]\n");
        fprintf(stderr, "          [ realms [SRCREALM/]DSTREALM ]\n");
        fprintf(stderr, "          [ goto NUMBER ]\n");
        fprintf(stderr, "          SUPPRESSOR\n");
index dd925be64d671ee0d5ca99d3a40d26894a091c3a..6245d8cf657611868cf29642a3e112bfbf77c783 100644 (file)
@@ -41,7 +41,7 @@ ip-rule \- routing policy database management
 .IR TABLE_ID " ] [ "
 .B  nat
 .IR ADDRESS " ] [ "
-.BR prohibit " | " reject " | " unreachable " ] [ " realms
+.B realms
 .RI "[" SRCREALM "/]" DSTREALM " ]"
 .I  SUPPRESSOR