Skip to content
GitLab
Menu
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-stable
Commits
f8c59dd4
Commit
f8c59dd4
authored
Apr 05, 2001
by
Robert Ricci
Browse files
Removed check that required LANs to only link to delay nodes - this is a
bogus restriction.
parent
bc7995da
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/ir/handle_ip.in
View file @
f8c59dd4
...
...
@@ -317,11 +317,15 @@ sub get_macs {
push
(
@$macs
,
@
{
$vlanmap
{"
ddst_
$_
[0]
"}});
}
# XXX - Not sure if this is correct
# XXX - ricci: still not sure if it is! The old code checked to make sure
# that one of the nodes was a delay node - I'm not sure why this was desirable,
# but it broke things
if
(
defined
(
$links
{
$_
[
0
]}))
{
my
(
$src
,
$dst
)
=
@
{
$links
{
$_
[
0
]}};
if
(
&islan
(
$src
)
&&
defined
(
$delays
{
$dst
})
)
{
if
(
&islan
(
$src
))
{
push
(
@$macs
,
@
{
$vlanmap
{
$src
}});
}
elsif
(
&islan
(
$dst
)
&&
defined
(
$delays
{
$src
})
)
{
}
elsif
(
&islan
(
$dst
))
{
push
(
@$macs
,
@
{
$vlanmap
{
$dst
}});
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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