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 6435395..a9dbc30 100644 (file)
@@ -39,15 +39,15 @@ function IptParser.__init__( self, family )
        else
                self._nulladdr = "::/0"
                self._tables   = { "filter", "mangle", "raw" }
        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
 
                self._command  = "ip6tables -t %s --line-numbers -nxvL"
        end