luci-base: fix whitespace
change spaces to tabs Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
parent
b6cdf3706b
commit
1709800150
1 changed files with 9 additions and 9 deletions
|
@ -39,15 +39,15 @@ function IptParser.__init__( self, family )
|
|||
else
|
||||
self._nulladdr = "::/0"
|
||||
self._tables = { "filter", "mangle", "raw" }
|
||||
local ok, lines = pcall(io.lines, "/proc/net/ip6_tables_names")
|
||||
if ok and lines then
|
||||
local line
|
||||
for line in lines do
|
||||
if line == "nat" then
|
||||
self._tables = { "filter", "nat", "mangle", "raw" }
|
||||
end
|
||||
end
|
||||
end
|
||||
local ok, lines = pcall(io.lines, "/proc/net/ip6_tables_names")
|
||||
if ok and lines then
|
||||
local line
|
||||
for line in lines do
|
||||
if line == "nat" then
|
||||
self._tables = { "filter", "nat", "mangle", "raw" }
|
||||
end
|
||||
end
|
||||
end
|
||||
self._command = "ip6tables -t %s --line-numbers -nxvL"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue