[PATCH] correct --protocol option for nl-cls-* utilities

Cong Wang xiyou.wangcong at gmail.com
Tue Feb 24 22:09:54 PST 2015


Just in the help message.

Signed-off-by: Cong Wang <xiyou.wangcong at gmail.com>
---
 src/nl-cls-add.c    | 2 +-
 src/nl-cls-delete.c | 2 +-
 src/nl-cls-list.c   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/nl-cls-add.c b/src/nl-cls-add.c
index 6acb320..ada234d 100644
--- a/src/nl-cls-add.c
+++ b/src/nl-cls-add.c
@@ -31,7 +31,7 @@ static void print_usage(void)
 " -d, --dev=DEV             Network device the classifier should be attached to.\n"
 " -i, --id=ID               ID of new classifier (default: auto-generated)\n"
 " -p, --parent=ID           ID of parent { root | ingress | class-ID }\n"
-"     --protocol=PROTO      Protocol to match (default: all)\n"
+"     --proto=PROTO         Protocol to match (default: all)\n"
 "     --prio=PRIO           Priority (default: 0)\n"
 "     --mtu=SIZE            Overwrite MTU (default: MTU of network device)\n"
 "     --mpu=SIZE            Minimum packet size on the link (default: 0).\n"
diff --git a/src/nl-cls-delete.c b/src/nl-cls-delete.c
index 2b3db1f..c6abac7 100644
--- a/src/nl-cls-delete.c
+++ b/src/nl-cls-delete.c
@@ -32,7 +32,7 @@ static void print_usage(void)
 " -p, --parent=ID           Identifier of parent qdisc/class.\n"
 " -i, --id=ID               Identifier\n"
 " -k, --kind=NAME           Kind of classifier (e.g. basic, u32, fw)\n"
-"     --protocol=PROTO      Protocol to match (default: all)\n"
+"     --proto=PROTO         Protocol to match (default: all)\n"
 "     --prio=PRIO           Priority (default: 0)\n"
 "\n"
 "EXAMPLE\n"
diff --git a/src/nl-cls-list.c b/src/nl-cls-list.c
index 5072585..cae7e27 100644
--- a/src/nl-cls-list.c
+++ b/src/nl-cls-list.c
@@ -35,7 +35,7 @@ static void print_usage(void)
 " -p, --parent=ID           Identifier of parent class.\n"
 " -i, --id=ID               Identifier.\n"
 " -k, --kind=NAME           Kind of classifier (e.g. basic, u32, fw)\n"
-"     --protocol=PROTO      Protocol to match (default: all)\n"
+"     --proto=PROTO         Protocol to match (default: all)\n"
 "     --prio=PRIO           Priority (default: 0)\n"
 "\n"
 "EXAMPLE\n"
-- 
1.8.1.4




More information about the libnl mailing list