summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2020-06-18 13:05:14 -0700
committergVisor bot <gvisor-bot@google.com>2020-06-18 13:06:50 -0700
commitf1aa919181c066039a3022499de8076e523e3e7d (patch)
tree9d37bb6431dbe200bcd713777ded415c12505631
parent3970c127434817304f67a2ad192cbe8094ad3353 (diff)
Ensure ip6tables module installed
This module isn't always loaded automatically. PiperOrigin-RevId: 317164471
-rwxr-xr-xscripts/iptables_tests.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/iptables_tests.sh b/scripts/iptables_tests.sh
index 2a8c24907..8299a7c8b 100755
--- a/scripts/iptables_tests.sh
+++ b/scripts/iptables_tests.sh
@@ -18,6 +18,9 @@ source $(dirname $0)/common.sh
make load-iptables
+# Needed by ip6tables.
+sudo modprobe ip6table_filter
+
install_runsc_for_test iptables --net-raw
test //test/iptables:iptables_test "--test_arg=--runtime=runc"
test //test/iptables:iptables_test "--test_arg=--runtime=${RUNTIME}"