Blame SOURCES/0006-test-nftables-fix-normalization-of-reject-statement-.patch

e9ad3f
From f29791c69afc760c2356c9d72d4c1d7333e7b814 Mon Sep 17 00:00:00 2001
e9ad3f
From: Eric Garver <eric@garver.life>
e9ad3f
Date: Wed, 3 Feb 2021 17:02:42 -0500
e9ad3f
Subject: [PATCH 06/22] test(nftables): fix normalization of reject statement
e9ad3f
 output for icmpv6
e9ad3f
e9ad3f
Fixes: 00835e746cf4 ("test(nftables): normalize reject statement output")
e9ad3f
(cherry picked from commit 3a3b4676ccb7b40cf304b773456dec2662783425)
e9ad3f
(cherry picked from commit 3bfef89745cfb2c4d90d721c377a409de9c60611)
e9ad3f
---
e9ad3f
 src/tests/functions.at | 2 +-
e9ad3f
 1 file changed, 1 insertion(+), 1 deletion(-)
e9ad3f
e9ad3f
diff --git a/src/tests/functions.at b/src/tests/functions.at
e9ad3f
index 4c8a4603f287..562bc6105a8f 100644
e9ad3f
--- a/src/tests/functions.at
e9ad3f
+++ b/src/tests/functions.at
e9ad3f
@@ -419,7 +419,7 @@ m4_define([NFT_LIST_RULES_NORMALIZE], [dnl
e9ad3f
         -e '/type.*hook.*priority.*policy.*/d'dnl
e9ad3f
         dnl tranform ct state { established,related } to ct state established,related
e9ad3f
         -e '/ct \(state\|status\)/{s/\(ct \(state\|status\)\) {/\1/g; s/ }//; s/\(@<:@a-z@:>@*\), /\1,/g;}' dnl
e9ad3f
-        -e 's/reject with icmp[[x6]]\? type port-unreachable/reject/' dnl
e9ad3f
+        -e 's/reject with icmp\(x\|v6\)\? type port-unreachable/reject/' dnl
e9ad3f
 ])
e9ad3f
 
e9ad3f
 m4_define([NFT_LIST_RULES_ALWAYS], [
e9ad3f
-- 
e9ad3f
2.27.0
e9ad3f