[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] [Patch] new nam format for mobile nodes



Hi,

found a very small problem in the current snapshot of ns (today) wrt
the current nam format ('-v' in a line beginning with 'n' has changed to
'-V'). Without the patch below nam gives many warning messages on
startup.


Regards,

/J"org

---------------------------------
diff -ur ns-2-snapshot-20010110.orig/mobilenode.cc ns-2-snapshot-20010110/mobile
node.cc
--- ns-2-snapshot-20010110.orig/mobilenode.cc   Thu Aug 31 22:11:49 2000
+++ ns-2-snapshot-20010110/mobilenode.cc        Wed Jan 10 13:00:39 2001
@@ -422,7 +422,7 @@
 
        if (namChan_ != 0) {
                sprintf(nwrk_,     
-                       "n -t %f -s %d -x %f -y %f -u %f -v %f -T %f",
+                       "n -t %f -s %d -x %f -y %f -u %f -V %f -T %f",
                        Scheduler::instance().clock(),
                        nodeid_,
                        X_, Y_,