From edb4469374232d11b4f390ede726683ef5d3dbe7 Mon Sep 17 00:00:00 2001
From: Eric Garver <eric@garver.life>
Date: Thu, 30 May 2019 09:45:59 -0400
Subject: [PATCH 39/39] fix: tests/functions: define HOST_SUPPORTS_IP6TABLES
value immediately
(cherry picked from commit 6644eddbb219d83f4cb59523bfa873b4b1869e78)
---
src/tests/functions.at | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/tests/functions.at b/src/tests/functions.at
index c21831839662..fae1a78f6005 100644
--- a/src/tests/functions.at
+++ b/src/tests/functions.at
@@ -361,13 +361,13 @@ m4_ifnblank(
[m4_define([HOST_SUPPORTS_NFT_FIB], [no])]
)
-m4_define([HOST_SUPPORTS_IP6TABLES], [m4_esyscmd(
+m4_define([HOST_SUPPORTS_IP6TABLES], m4_esyscmd(
if IP6TABLES -L >/dev/null 2>&1; then
echo -n "yes"
else
echo -n "no"
fi
-)])
+))
m4_define([IF_IPV6_SUPPORTED], [
m4_ifdef([TESTING_FIREWALL_OFFLINE_CMD], [$1], [
--
2.20.1