aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2015-10-15 22:32:17 +0200
committerStephen Hemminger <shemming@brocade.com>2015-10-18 21:57:01 -0700
commitccaf6eb5cc1020c7fe8997b8cadf9a12cf92302a (patch)
tree00bab5ee6a7deb401144829064921c848b265f8f
parentf73105ab42795422f131fb711712e3c860df982f (diff)
downloadandroid_external_iproute2-ccaf6eb5cc1020c7fe8997b8cadf9a12cf92302a.tar.gz
android_external_iproute2-ccaf6eb5cc1020c7fe8997b8cadf9a12cf92302a.tar.bz2
android_external_iproute2-ccaf6eb5cc1020c7fe8997b8cadf9a12cf92302a.zip
ip-rule: neither prohibit nor reject or unreachable flags exist
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>
-rw-r--r--ip/iprule.c1
-rw-r--r--man/man8/ip-rule.82
2 files changed, 1 insertions, 2 deletions
diff --git a/ip/iprule.c b/ip/iprule.c
index 714278a..2fa9ade 100644
--- a/ip/iprule.c
+++ b/ip/iprule.c
@@ -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");
diff --git a/man/man8/ip-rule.8 b/man/man8/ip-rule.8
index dd925be..6245d8c 100644
--- a/man/man8/ip-rule.8
+++ b/man/man8/ip-rule.8
@@ -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