Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
8e9c6427
Commit
8e9c6427
authored
Jun 05, 2003
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
2 additions
and
16 deletions
+2
-16
tbsetup/ns2ir/traffic.tcl
tbsetup/ns2ir/traffic.tcl
+2
-16
No files found.
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
Markdown
is supported
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