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
This commit is contained in:
parent
fff4d8ef9d
commit
5c5e08669c
@ -86,8 +86,10 @@ def disk_space():
|
|||||||
|
|
||||||
|
|
||||||
def ebtables_dump():
|
def ebtables_dump():
|
||||||
|
tables = ['filter', 'nat', 'broute']
|
||||||
_header("EB Tables Dump")
|
_header("EB Tables Dump")
|
||||||
_dump_cmd("sudo ebtables -L")
|
for table in tables:
|
||||||
|
_dump_cmd("sudo ebtables -t %s -L" % table)
|
||||||
|
|
||||||
|
|
||||||
def iptables_dump():
|
def iptables_dump():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user