mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 10:09:17 +00:00
lib: Disallow % in IPv6 addresses and prefixes
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
4c58c70dcb
commit
4d91343a45
@ -1001,8 +1001,8 @@ cmd_ipv4_prefix_match (const char *str)
|
|||||||
return exact_match;
|
return exact_match;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define IPV6_ADDR_STR "0123456789abcdefABCDEF:.%"
|
#define IPV6_ADDR_STR "0123456789abcdefABCDEF:."
|
||||||
#define IPV6_PREFIX_STR "0123456789abcdefABCDEF:.%/"
|
#define IPV6_PREFIX_STR "0123456789abcdefABCDEF:./"
|
||||||
|
|
||||||
#ifdef HAVE_IPV6
|
#ifdef HAVE_IPV6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user