netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ip-rule: neither prohibit nor reject or unreachable flags exist
@ 2015-10-15 20:32 Phil Sutter
  0 siblings, 0 replies; 2+ messages in thread
From: Phil Sutter @ 2015-10-15 20:32 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev

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        | 1 -
 man/man8/ip-rule.8 | 2 +-
 2 files changed, 1 insertion(+), 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
 
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-19  4:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <785b22bedf624c9e9b4b2ca5d9fc3dc0@HQ1WP-EXMB11.corp.brocade.com>
2015-10-19  4:46 ` [PATCH] ip-rule: neither prohibit nor reject or unreachable flags exist Stephen Hemminger
2015-10-15 20:32 Phil Sutter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).