Browse code

core: added test if SREV_NET_DGRAM_IN callback is set

- patch by Alexandr Dubovikov

Daniel-Constantin Mierla authored on 17/08/2011 09:29:41
Showing 1 changed files
... ...
@@ -188,6 +188,8 @@ int sr_event_enabled(int type)
188 188
 				return (_sr_events_list.pkg_set_used!=0)?1:0;
189 189
 		case SREV_PKG_SET_REAL_USED:
190 190
 				return (_sr_events_list.pkg_set_real_used!=0)?1:0;
191
+		case SREV_NET_DGRAM_IN:
192
+				return (_sr_events_list.net_dgram_in!=0)?1:0;
191 193
 	}
192 194
 	return 0;
193 195
 }