Commit 8e9c6427 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Get rid of some cruft left over from before I could run trafgens

inside jails.
parent 296adc92
......@@ -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
......
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