Skip to content

Commit 5c5e086

Browse files
committed
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
1 parent fff4d8e commit 5c5e086

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tools/worlddump.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,10 @@ def disk_space():
8686

8787

8888
def ebtables_dump():
89+
tables = ['filter', 'nat', 'broute']
8990
_header("EB Tables Dump")
90-
_dump_cmd("sudo ebtables -L")
91+
for table in tables:
92+
_dump_cmd("sudo ebtables -t %s -L" % table)
9193

9294

9395
def iptables_dump():

0 commit comments

Comments
 (0)