ns-allinone-2.35/olsr/OLSR.cc
void
OLSR_MidTimer::expire(Event* e) {
#ifdef MULTIPLE_IFACES_SUPPORT
	agent_->send_mid();
	agent_->set_mid_timer();
#endif
}
///
/// \brief Sends a MID message (if the node has more than one interface) and resets the MID timer.
/// \warning Currently it does nothing because there is no support for multiple interfaces.
/// \param e The event which has expired.
///
\brief Sends a MID message (if the node has more than one interface) and resets the MID timer.
\warning Currently it does nothing because there is no support for multiple interfaces.
\param e The event which has expired.
\ brief Sends a MID message ( if the node has more than one interface ) and resets the MID timer . \ warning Currently it does nothing because there is no support for multiple interfaces . \ param e The event which has expired .
void
OLSR_MidTimer::expire(Event* e) {
#ifdef MULTIPLE_IFACES_SUPPORT
	agent_->send_mid();
	agent_->set_mid_timer();
#endif
}
void OLSR_MidTimer :: expire ( Event * e ) { #ifdef MULTIPLE_IFACES_SUPPORT agent_ -> send_mid ( ) ; agent_ -> set_mid_timer ( ) ; #endif }
\brief Sends a MID message (if the node has more than one interface) and resets the MID timer.
\ brief Sends a MID message ( if the node has more than one interface ) and resets the MID timer .