summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-06-27 14:42:17 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-07-12 13:37:34 +0000
commit4d91343a45839480e006e2cc7c0dfd0725e1d0c8 (patch)
tree158bcdbd1e4a3a7c63bec11c2f95386f2985400f /lib/command.c
parent4c58c70dcbc3dc5f7274e9b964eecd225cc3c9ef (diff)
lib: Disallow % in IPv6 addresses and prefixes
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c
index d8a3149c14..500b377aba 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -1001,8 +1001,8 @@ cmd_ipv4_prefix_match (const char *str)
return exact_match;
}
-#define IPV6_ADDR_STR "0123456789abcdefABCDEF:.%"
-#define IPV6_PREFIX_STR "0123456789abcdefABCDEF:.%/"
+#define IPV6_ADDR_STR "0123456789abcdefABCDEF:."
+#define IPV6_PREFIX_STR "0123456789abcdefABCDEF:./"
#ifdef HAVE_IPV6