From 5c5e08669cb7539886cb3477fc7c4c7deb701f50 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 9 Nov 2015 14:08:15 -0500 Subject: [PATCH] loop all ebtables tables ebtables has 3 built in tables, if we don't call them out we only get 'filter' (per man page). Change-Id: I52360cbb3b910cb492b61e2314848cc29dcd8266 --- tools/worlddump.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/worlddump.py b/tools/worlddump.py index 1b337a9a83..97e4d949c7 100755 --- a/tools/worlddump.py +++ b/tools/worlddump.py @@ -86,8 +86,10 @@ def disk_space(): def ebtables_dump(): + tables = ['filter', 'nat', 'broute'] _header("EB Tables Dump") - _dump_cmd("sudo ebtables -L") + for table in tables: + _dump_cmd("sudo ebtables -t %s -L" % table) def iptables_dump():