remove asserts testing the number of alternate interfaces.
if ( !thost->interface )
goto Bad_CallBackRxConnAddr;
- assert(thost->interface->numberOfInterfaces > 0 );
-
/* the only address is the primary interface */
/* can't change when there's only 1 address, anyway */
- if ( thost->interface->numberOfInterfaces == 1 )
+ if ( thost->interface->numberOfInterfaces <= 1 )
goto Bad_CallBackRxConnAddr;
/* initialise a security object only once */
if (!host->interface)
return 1; /* failure */
- assert(host->interface->numberOfInterfaces > 0);
-
/* the only address is the primary interface */
- if (host->interface->numberOfInterfaces == 1)
- return 1; /* failure */
+ if (host->interface->numberOfInterfaces <= 1)
+ return 1; /* failure */
/* initialise a security object only once */
if (!sc)