Software /
code /
prosody
Changeset
4433:f0e72fbe4d6a
util.ip: Fix syntax error (while I search for my pre-commit hooks)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 30 Nov 2011 19:37:13 +0000 |
parents | 4432:cbc3224ed3c2 |
children | 4434:51a7c85751b9 4530:40905e7bf680 |
files | util/ip.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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