Commit b9b48967 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Bump max netmask to 0xFFFF0000. This could cause problems ...

parent 6df4cd5e
...@@ -306,7 +306,7 @@ proc tb-set-netmask {lanlink netmask} { ...@@ -306,7 +306,7 @@ proc tb-set-netmask {lanlink netmask} {
return return
} }
set netmaskint [inet_atohl $netmask] set netmaskint [inet_atohl $netmask]
if {[expr ($netmaskint & 0xFFFFF000)] != 0xFFFFF000} { if {[expr ($netmaskint & 0xFFFF0000)] != 0xFFFF0000} {
perror "\[tb-set-netmask] - $netmask is too big" perror "\[tb-set-netmask] - $netmask is too big"
return return
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment