[ns] [bug] $ns_ dump-routelogic-nh

hao wang haow@ece.ubc.ca
Tue Apr 30 12:00:07 2002


[Bug Report]

-----------------------------
Category:  Other
Package:   ns 2.1b8
OS:        Sun Solaris
Environment Variables:
LD_LIBRARY_PATH=
TCL_LIBRARY=
TK_LIBRARY=


-----------------------------
Description:

Description of Problem:

I fund this problem during the trouble shooting of LS routing. dump-routelogic-nh should out-put a bland tab space instead of nothing when there is no next hop information to a node available. Otherwise, the output is not easy to read and does not reflect the actrual routing table correctly. 


Sollution:

(~/ns-2.1b8/tcl/lib): diff -b ns-route.tcl ns-route.old
223,224d222
<                               } else {
<                                   puts -nonewline "\t" ;