"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Conn.cc" between
zeek-3.2.2.tar.gz and zeek-3.2.4.tar.gz

About: Zeek (formerly Bro) is a flexible network analysis framework focusing on network security monitoring. Feature release.

Conn.cc  (zeek-3.2.2):Conn.cc  (zeek-3.2.4)
skipping to change at line 323 skipping to change at line 323
if ( timeout ) if ( timeout )
ADD_TIMER(&Connection::InactivityTimer, ADD_TIMER(&Connection::InactivityTimer,
last_time + timeout, 0, TIMER_CONN_INACTIVITY); last_time + timeout, 0, TIMER_CONN_INACTIVITY);
inactivity_timeout = timeout; inactivity_timeout = timeout;
} }
void Connection::EnableStatusUpdateTimer() void Connection::EnableStatusUpdateTimer()
{ {
if ( installed_status_timer )
return;
if ( connection_status_update && connection_status_update_interval ) if ( connection_status_update && connection_status_update_interval )
{ {
ADD_TIMER(&Connection::StatusUpdateTimer, ADD_TIMER(&Connection::StatusUpdateTimer,
network_time + connection_status_update_interval, 0, network_time + connection_status_update_interval, 0,
TIMER_CONN_STATUS_UPDATE); TIMER_CONN_STATUS_UPDATE);
installed_status_timer = 1; installed_status_timer = 1;
} }
} }
void Connection::StatusUpdateTimer(double t) void Connection::StatusUpdateTimer(double t)
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)