Commit c66dc70e authored by Mike Hibler's avatar Mike Hibler

Remove a typo and some excess code

parent f6ab5e5c
......@@ -190,6 +190,7 @@ proc readtrafgens {} {
set tmcctrafgens [open $CLIENTVARDIR/boot/tmcc.trafgens r]
set tmcctraf [read $tmcctrafgens]
close $tmcctrafgens
set trafgenlist [split $tmcctraf "\n"]
set formatstr {TRAFGEN=%s MYNAME=%s MYPORT=%u PEERNAME=%s PEERPORT=%u PROTO=%s ROLE=%s GENERATOR=%s}
foreach trafgen $trafgenlist {
......@@ -434,17 +435,13 @@ if { $simcode_present == 1 } {
# get some params to configure the event system interface
set tmccbossinfo [open $CLIENTVARDIR/boot/tmcc.bossinfo r]
set tmccboss [read $tmccbossinfo]
close $tmccbossinfo
set boss [lindex [split $tmccboss " \n"] 0]
set pideidlist [split [exec hostname] "."]
set vnode [lindex $pideidlist 0]
set eid [lindex $pideidlist 1]
set pid [lindex $pideidlist 2]
set logpath "/proj/$pid/exp/$eid/logs/nse-$vnode.log"
set simobjname [$ns set tbname]
set nseswap_cmdline "$CLIENTBINDIR/tevc < -s $EVENTSERVER -e $pid/$eid now $simobjname NSESWAP SIMHOST=$vnode"
set nseswap_cmdline "$CLIENTBINDIR/tevc -s $EVENTSERVER -e $pid/$eid now $simobjname NSESWAP SIMHOST=$vnode"
set pktrate_logpath "/proj/$pid/exp/$eid/logs/nse-vnodepktrate-$vnode.log"
......
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