Blame SOURCES/0096-iproute-TYPE-keyword-is-not-optional-fix-help-text-a.patch

049c96
From 42dcbf8a80e4d9ccdf9b777674656db26fc9eb4c Mon Sep 17 00:00:00 2001
049c96
From: Phil Sutter <psutter@redhat.com>
049c96
Date: Mon, 7 Mar 2016 20:36:42 +0100
049c96
Subject: [PATCH] iproute: TYPE keyword is not optional, fix help text
049c96
 accordingly
049c96
049c96
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1251186
049c96
Upstream Status: iproute2.git commit 070ebbdf754b0
049c96
Conflicts: Patch applied manually due to multiple missing features.
049c96
049c96
commit 070ebbdf754b02e1d7f9e9dbd84e1499332d9063
049c96
Author: Phil Sutter <phil@nwl.cc>
049c96
Date:   Wed Mar 2 19:19:54 2016 +0100
049c96
049c96
    iproute: TYPE keyword is not optional, fix help text accordingly
049c96
049c96
    This is a bit pedantic, but brackets ([]) show optional values and since
049c96
    TYPE must not become empty, they're not suited to surround the type
049c96
    keyword choices. Use curly braces instead.
049c96
049c96
    Also add some missing whitespace to the parameter list above.
049c96
049c96
    Signed-off-by: Phil Sutter <phil@nwl.cc>
049c96
---
049c96
 ip/iproute.c | 6 +++---
049c96
 1 file changed, 3 insertions(+), 3 deletions(-)
049c96
049c96
diff --git a/ip/iproute.c b/ip/iproute.c
049c96
index b7e0b15..74599e4 100644
049c96
--- a/ip/iproute.c
049c96
+++ b/ip/iproute.c
049c96
@@ -78,12 +78,12 @@ static void usage(void)
049c96
 	fprintf(stderr, "NH := [ via ADDRESS ] [ dev STRING ] [ weight NUMBER ] NHFLAGS\n");
049c96
 	fprintf(stderr, "OPTIONS := FLAGS [ mtu NUMBER ] [ advmss NUMBER ]\n");
049c96
 	fprintf(stderr, "           [ rtt TIME ] [ rttvar TIME ] [reordering NUMBER ]\n");
049c96
-	fprintf(stderr, "           [ window NUMBER] [ cwnd NUMBER ] [ initcwnd NUMBER ]\n");
049c96
+	fprintf(stderr, "           [ window NUMBER ] [ cwnd NUMBER ] [ initcwnd NUMBER ]\n");
049c96
 	fprintf(stderr, "           [ ssthresh NUMBER ] [ realms REALM ] [ src ADDRESS ]\n");
049c96
 	fprintf(stderr, "           [ rto_min TIME ] [ hoplimit NUMBER ] [ initrwnd NUMBER ]\n");
049c96
 	fprintf(stderr, "           [ features FEATURES ] [ quickack BOOL ] [ congctl NAME ]\n");
049c96
-	fprintf(stderr, "TYPE := [ unicast | local | broadcast | multicast | throw |\n");
049c96
-	fprintf(stderr, "          unreachable | prohibit | blackhole | nat ]\n");
049c96
+	fprintf(stderr, "TYPE := { unicast | local | broadcast | multicast | throw |\n");
049c96
+	fprintf(stderr, "          unreachable | prohibit | blackhole | nat }\n");
049c96
 	fprintf(stderr, "TABLE_ID := [ local | main | default | all | NUMBER ]\n");
049c96
 	fprintf(stderr, "SCOPE := [ host | link | global | NUMBER ]\n");
049c96
 	fprintf(stderr, "NHFLAGS := [ onlink | pervasive ]\n");
049c96
-- 
049c96
1.8.3.1
049c96