flushing nat table fails
Bug #1019857 reported by
Carsten Spiess
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iptables-persistent (Debian) |
Fix Released
|
Unknown
|
|||
iptables-persistent (Ubuntu) |
Fix Released
|
Low
|
Micah Gersten |
Bug Description
Flushing of tables other than filter fails.
Probably caused by wrong $(</proc...) construct.
When changing the line
for table in $(</proc/
to
for table in $(cat /proc/net/
(same for ip6) it works on my installation.
Related branches
Changed in iptables-persistent (Debian): | |
status: | Unknown → New |
Changed in iptables-persistent (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
This is a known bashism:
# checkbashisms iptables- persistent. init persistent. init line 95 ('$(< foo)' should be '$(cat foo)'): net/ip_ tables_ names) persistent. init line 112 ('$(< foo)' should be '$(cat foo)'): net/ip6_ tables_ names)
possible bashism in iptables-
for table in $(</proc/
possible bashism in iptables-
for table in $(</proc/