Blame SOURCES/0058-fix-tests-functions-define-HOST_SUPPORTS_IP6TABLES-v.patch
|
|
136e2c |
From 8123b9f3a3f114588ca3feea6386da2a3618dbca Mon Sep 17 00:00:00 2001
|
|
|
1dfe16 |
From: Eric Garver <eric@garver.life>
|
|
|
1dfe16 |
Date: Thu, 30 May 2019 09:45:59 -0400
|
|
|
136e2c |
Subject: [PATCH 58/73] fix: tests/functions: define HOST_SUPPORTS_IP6TABLES
|
|
|
1dfe16 |
value immediately
|
|
|
1dfe16 |
|
|
|
1dfe16 |
(cherry picked from commit 6644eddbb219d83f4cb59523bfa873b4b1869e78)
|
|
|
136e2c |
(cherry picked from commit 92d2b3673de44b2c1bb6cdfd1ff49df0158df374)
|
|
|
1dfe16 |
---
|
|
|
1dfe16 |
src/tests/functions.at | 4 ++--
|
|
|
1dfe16 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
1dfe16 |
|
|
|
1dfe16 |
diff --git a/src/tests/functions.at b/src/tests/functions.at
|
|
|
136e2c |
index 4edc484ca402..542b6b4bfc25 100644
|
|
|
1dfe16 |
--- a/src/tests/functions.at
|
|
|
1dfe16 |
+++ b/src/tests/functions.at
|
|
|
136e2c |
@@ -385,13 +385,13 @@ m4_ifnblank(
|
|
|
136e2c |
|
|
|
136e2c |
m4_define([NFT_NUMERIC_ARGS], m4_esyscmd([nft -h |grep "numeric-protocol" >/dev/null && echo -n "" || { echo -n "-" && echo -n "nn"; } ]))
|
|
|
1dfe16 |
|
|
|
1dfe16 |
-m4_define([HOST_SUPPORTS_IP6TABLES], [m4_esyscmd(
|
|
|
1dfe16 |
+m4_define([HOST_SUPPORTS_IP6TABLES], m4_esyscmd(
|
|
|
1dfe16 |
if IP6TABLES -L >/dev/null 2>&1; then
|
|
|
1dfe16 |
echo -n "yes"
|
|
|
1dfe16 |
else
|
|
|
1dfe16 |
echo -n "no"
|
|
|
1dfe16 |
fi
|
|
|
1dfe16 |
-)])
|
|
|
1dfe16 |
+))
|
|
|
1dfe16 |
|
|
|
1dfe16 |
m4_define([IF_IPV6_SUPPORTED], [
|
|
|
1dfe16 |
m4_ifdef([TESTING_FIREWALL_OFFLINE_CMD], [$1], [
|
|
|
1dfe16 |
--
|
|
|
1dfe16 |
2.20.1
|
|
|
1dfe16 |
|