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-devel
Commits
8e9c6427
Commit
8e9c6427
authored
Jun 05, 2003
by
Leigh B. Stoller
Browse files
Get rid of some cruft left over from before I could run trafgens
inside jails.
parent
296adc92
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/ns2ir/traffic.tcl
View file @
8e9c6427
...
...
@@ -122,22 +122,8 @@ Agent instproc updatedb {DB} {
set target_port
[
$destination
set port
]
# At some point allow users to set link. For now, first link
(
0
)
.
# XXX Hack for local virtual nodes. Eventually use ipinip tunnels,
# but for now just send over the existing link.
if
{
[
$node
set isvirt
]
== 1 &&
[
$node
set isremote
]
== 0
}
{
set foo
[
$node
set fixed
]
set ip
[
$foo
ip 0
]
}
else
{
set ip
[
$node
ip 0
]
}
if
{
[
$target
_vnode set isvirt
]
== 1 &&
[
$target
_vnode set isremote
]
== 0
}
{
set foo
[
$target
_vnode set fixed
]
set target_ip
[
$foo
ip 0
]
}
else
{
set target_ip
[
$target
_vnode ip 0
]
}
set ip
[
$node
ip 0
]
set target_ip
[
$target
_vnode ip 0
]
if
{
$role
==
"sink"
}
{
set application $self
...
...
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