# HG changeset patch # User Matthew Wild # Date 1322681833 0 # Node ID f0e72fbe4d6a3b0550ac3310441d9bd72ba95764 # Parent cbc3224ed3c2e6a0b4637de27aa7581765c10753 util.ip: Fix syntax error (while I search for my pre-commit hooks) diff -r cbc3224ed3c2 -r f0e72fbe4d6a util/ip.lua --- a/util/ip.lua Wed Nov 30 17:20:16 2011 +0000 +++ b/util/ip.lua Wed Nov 30 19:37:13 2011 +0000 @@ -65,7 +65,7 @@ elseif fields[1] == 169 and fields[2] == 254 then return 0x2; -- Site-local unicast: - elseif (fields[1] == 10) or (fields[1] == 192 and fields[2] == 168) or (fields[1] == 172 and (fields[2] >= 16 and fields[2] < 32) then + elseif (fields[1] == 10) or (fields[1] == 192 and fields[2] == 168) or (fields[1] == 172 and (fields[2] >= 16 and fields[2] < 32)) then return 0x5; -- Global unicast: else