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} {
return
}
set netmaskint [inet_atohl $netmask]
if {[expr ($netmaskint & 0xFFFFF000)] != 0xFFFFF000} {
if {[expr ($netmaskint & 0xFFFF0000)] != 0xFFFF0000} {
perror "\[tb-set-netmask] - $netmask is too big"
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