luci-base: fix whitespace
authorHannu Nyman <hannu.nyman@iki.fi>
Fri, 3 Jun 2016 07:35:37 +0000 (10:35 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Fri, 3 Jun 2016 07:35:37 +0000 (10:35 +0300)
change spaces to tabs

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
modules/luci-base/luasrc/sys/iptparser.lua

index 64353956b0d6e112b4e24fb843ae9ef9a681b15c..a9dbc308263143dfc16cf2b9bcc5288abc0e8df3 100644 (file)
@@ -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