[Ns-bugs] [Bug 84] [patch] Add support for non-unit cost metrics in routing

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Mon Oct 8 03:10:19 PDT 2007


http://www.nsnam.org/bugzilla/show_bug.cgi?id=84





------- Comment #2 from gjcarneiro at gmail.com  2007-10-08 06:10 -------
About the proposed interface:

Ipv4Interface::SetMetric (uint16_t metric)

Doesn't it make more sense to make it "int16_t metric", i.e. a signed integer? 
This way the default value could be set to zero, giving plenty of metric space
either above or below the default value.  Feels more natural, IMHO.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list