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
|
else
|
||||||
self._nulladdr = "::/0"
|
self._nulladdr = "::/0"
|
||||||
self._tables = { "filter", "mangle", "raw" }
|
self._tables = { "filter", "mangle", "raw" }
|
||||||
local ok, lines = pcall(io.lines, "/proc/net/ip6_tables_names")
|
local ok, lines = pcall(io.lines, "/proc/net/ip6_tables_names")
|
||||||
if ok and lines then
|
if ok and lines then
|
||||||
local line
|
local line
|
||||||
for line in lines do
|
for line in lines do
|
||||||
if line == "nat" then
|
if line == "nat" then
|
||||||
self._tables = { "filter", "nat", "mangle", "raw" }
|
self._tables = { "filter", "nat", "mangle", "raw" }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
self._command = "ip6tables -t %s --line-numbers -nxvL"
|
self._command = "ip6tables -t %s --line-numbers -nxvL"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue