acl: Fix the CLI to accept IPv6 prefixes 42/33142/2
authorNeale Ranns <neale@graphiant.com>
Thu, 15 Jul 2021 08:11:38 +0000 (08:11 +0000)
committerDamjan Marion <dmarion@me.com>
Thu, 15 Jul 2021 14:50:50 +0000 (14:50 +0000)
commit5be3d4cc59ea955cff35ef962fd908e1147eea99
tree7d181452e25db812d488c0ffd3a18e581c717967
parent05698730e42346c54b7405c6c1a498a0467261ab
acl: Fix the CLI to accept IPv6 prefixes

Type: fix

DBGvpp# set acl-plugin acl src 1::1/128 dst 2::/64
DBGvpp# sh acl-plugin acl
acl-index 0 count 1 tag {cli}
          0: ipv4 permit src 1.1.1.1/32 dst 1.1.1.2/32 proto 0 sport 0-65535 dport 0-65535
acl-index 1 count 1 tag {cli}
          0: ipv6 permit src 1::1/128 dst 2::/64 proto 0 sport 0-65535 dport 0-65535

Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: Ibb8e20dd4ec2792f423a61eefe7398175e45a577
src/plugins/acl/acl.c