[Ns-developers] Ipv4::FindInterfaceForXXX ?

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Tue May 27 12:02:11 PDT 2008


hi,

While trying to use Ipv4::FindInterfaceForXXX, it occured to me that
each of the 3 methods has a different behavior with regard to what
happens when the requested interface is not found: one asserts, the
other calls NS_FATAL_ERROR, and the last one returns -1.

Would it be a problem if I made them all return -1 ?

regards,
Mathieu



More information about the Ns-developers mailing list