Commit efb2d38e authored by Shashi Guruprasad's avatar Shashi Guruprasad

Patched a couple of files to support wireless emulation using NSE. No

performance analysis or validation done yet.
parent d07dae4f
This diff is collapsed.
......@@ -224,10 +224,9 @@ if { $simcode_present == 1 } {
exec sysctl -w net.inet.ip.forwarding=0 net.inet.ip.fastforwarding=0
# Now, we configure IPTaps for links between real and simulated nodes
set nodelist [Node info instances]
set i 0
foreach nodeinst [Node info instances] {
foreach nodeinst [concat [Node info instances] [Node/MobileNode info instances]] {
if { [$nodeinst info vars nsenode_ipaddrlist] == {} } {
continue
}
......
......@@ -224,10 +224,9 @@ if { $simcode_present == 1 } {
exec sysctl -w net.inet.ip.forwarding=0 net.inet.ip.fastforwarding=0
# Now, we configure IPTaps for links between real and simulated nodes
set nodelist [Node info instances]
set i 0
foreach nodeinst [Node info instances] {
foreach nodeinst [concat [Node info instances] [Node/MobileNode info instances]] {
if { [$nodeinst info vars nsenode_ipaddrlist] == {} } {
continue
}
......
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