mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 10:49:24 +00:00
yang: Fix the ipv6 multicast pattern in frr-route-types
The pattern defined for ipv6-multicast-group-prefix is wrong. This is leading to mismatch for all the valid ipv6 multicast addresses. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
This commit is contained in:
parent
ab06d92642
commit
3a7ef7a7b6
@ -162,9 +162,7 @@ module frr-route-types {
|
|||||||
typedef ipv6-multicast-group-prefix {
|
typedef ipv6-multicast-group-prefix {
|
||||||
type inet:ipv6-prefix {
|
type inet:ipv6-prefix {
|
||||||
pattern
|
pattern
|
||||||
'(((FF|ff)[0-9a-fA-F]{2}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(/((1[6-9])|([2-9][0-9])|(1[0-1][0-9])|(12[0-8])))';
|
'(([fF]{2}[0-9a-fA-F]{2}):).*';
|
||||||
pattern
|
|
||||||
'(([^:]+:){6}(([^:]+:[^:]+)|(.*\..*)))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?)(/.+)';
|
|
||||||
}
|
}
|
||||||
description
|
description
|
||||||
"This type represents an IPv6 multicast group prefix,
|
"This type represents an IPv6 multicast group prefix,
|
||||||
|
Loading…
Reference in New Issue
Block a user