From 1f825a571c198c13e3a543761b98572c85e3f062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lugossy=20Zolt=C3=A1n?= <79148853+zolug@users.noreply.github.com> Date: Wed, 3 May 2023 18:40:13 +0200 Subject: [PATCH] Fix ICMPv6 ingress ACL rules (#865) Signed-off-by: Lugossy Zoltan --- internal/vppinit/acl.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/vppinit/acl.go b/internal/vppinit/acl.go index 4ad0c9f7..a7010f34 100644 --- a/internal/vppinit/acl.go +++ b/internal/vppinit/acl.go @@ -99,8 +99,8 @@ func ingressACLAddDelete() *acl.ACLAddReplace { SrcPrefix: ipv6zeroPrefix, DstPrefix: ipv6zeroPrefix, Proto: ip_types.IP_API_PROTO_ICMP6, - DstportOrIcmpcodeFirst: 134, - DstportOrIcmpcodeLast: 134, + SrcportOrIcmptypeFirst: 134, + SrcportOrIcmptypeLast: 134, }, { // Allow ingress ICMPv6 Neighbor Advertisement Message @@ -108,8 +108,8 @@ func ingressACLAddDelete() *acl.ACLAddReplace { SrcPrefix: ipv6zeroPrefix, DstPrefix: ipv6zeroPrefix, Proto: ip_types.IP_API_PROTO_ICMP6, - DstportOrIcmpcodeFirst: 136, - DstportOrIcmpcodeLast: 136, + SrcportOrIcmptypeFirst: 136, + SrcportOrIcmptypeLast: 136, }, { IsPermit: acl_types.ACL_ACTION_API_DENY,