diff options
Diffstat (limited to 'ACE/ace/Monitor_Control/Packets_Sent_Monitor.cpp')
-rw-r--r-- | ACE/ace/Monitor_Control/Packets_Sent_Monitor.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ACE/ace/Monitor_Control/Packets_Sent_Monitor.cpp b/ACE/ace/Monitor_Control/Packets_Sent_Monitor.cpp index 6dc7f62f99e..6792b94b950 100644 --- a/ACE/ace/Monitor_Control/Packets_Sent_Monitor.cpp +++ b/ACE/ace/Monitor_Control/Packets_Sent_Monitor.cpp @@ -24,8 +24,10 @@ namespace ACE /// Scan format for /proc/net/dev #elif defined (ACE_HAS_KSTAT) , Solaris_Network_Interface_Monitor (ACE_TEXT ("opackets")) -#elif defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) +#elif defined (__NetBSD__) || defined (__OpenBSD__) , BSD_Network_Interface_Monitor (ACE_TEXT ("opackets")) +#elif defined (__FreeBSD__) || defined (__Lynx__) + , FreeBSD_Network_Interface_Monitor (ACE_TEXT ("opackets")) #endif {} @@ -33,7 +35,7 @@ namespace ACE Packets_Sent_Monitor::update (void) { this->update_i (); - + /// On some platforms, value_ is an ACE_UINT64. this->receive (static_cast<double> (this->value_)); } @@ -43,7 +45,7 @@ namespace ACE { return Packets_Sent_Monitor::default_name_; } - + void Packets_Sent_Monitor::clear_i (void) { @@ -56,4 +58,3 @@ namespace ACE ACE_END_VERSIONED_NAMESPACE_DECL #endif /* ACE_HAS_MONITOR_FRAMEWORK==1 */ - |