Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
b9b48967
Commit
b9b48967
authored
Aug 10, 2004
by
Leigh B. Stoller
Browse files
Bump max netmask to 0xFFFF0000. This could cause problems ...
parent
6df4cd5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/ns2ir/tb_compat.tcl.in
View file @
b9b48967
...
...
@@ -306,7 +306,7 @@ proc tb-set-netmask {lanlink netmask} {
return
}
set netmaskint
[
inet_atohl $netmask
]
if
{[
expr
(
$netmaskint
& 0xFFFF
F
000
)]
!= 0xFFFF
F
000
}
{
if
{[
expr
(
$netmaskint
& 0xFFFF
0
000
)]
!= 0xFFFF
0
000
}
{
perror
"
\[
tb-set-netmask] -
$netmask
is too big"
return
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment