libndp/0001-ndptool-fix-v-argument.patch
2013-09-13 10:05:55 -05:00

28 lines
746 B
Diff

From 776fb96b15a2c0c2b6fc5398939dce10630e1256 Mon Sep 17 00:00:00 2001
From: Yanko Kaneti <yaneti@declera.com>
Date: Thu, 8 Aug 2013 12:40:42 +0300
Subject: [PATCH 1/2] ndptool: fix -v argument
Signed-off-by: Yanko Kaneti <yaneti@declera.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
---
utils/ndptool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/ndptool.c b/utils/ndptool.c
index d0764ce..120ffdc 100644
--- a/utils/ndptool.c
+++ b/utils/ndptool.c
@@ -397,7 +397,7 @@ int main(int argc, char **argv)
int err;
int res = EXIT_FAILURE;
- while ((opt = getopt_long(argc, argv, "hp:i:t:",
+ while ((opt = getopt_long(argc, argv, "hvt:i:",
long_options, NULL)) >= 0) {
switch(opt) {
--
1.8.3.1