diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2016-06-03 10:35:37 +0300 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2016-06-03 10:35:37 +0300 |
commit | 1709800150565fd027a3a9b752687439f53460ab (patch) | |
tree | 9a99737ba5b8a8694d389e1bdd340f791f2332b7 /modules/luci-base/luasrc/sys | |
parent | b6cdf3706b3dfc9fb7fff7a517a68663a6e1f84d (diff) |
luci-base: fix whitespace
change spaces to tabs
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'modules/luci-base/luasrc/sys')
-rw-r--r-- | modules/luci-base/luasrc/sys/iptparser.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/luci-base/luasrc/sys/iptparser.lua b/modules/luci-base/luasrc/sys/iptparser.lua index 64353956b0..a9dbc30826 100644 --- a/modules/luci-base/luasrc/sys/iptparser.lua +++ b/modules/luci-base/luasrc/sys/iptparser.lua @@ -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 |