Clear traps during shutdown before unloading kernel plugins

This commit is contained in:
Martin Willi
2011-09-12 13:02:51 +02:00
parent 40e53c40d4
commit f8437dd8d2
3 changed files with 16 additions and 0 deletions
+5
View File
@@ -67,6 +67,11 @@ struct trap_manager_t {
void (*acquire)(trap_manager_t *this, u_int32_t reqid,
traffic_selector_t *src, traffic_selector_t *dst);
/**
* Clear any installed trap.
*/
void (*flush)(trap_manager_t *this);
/**
* Destroy a trap_manager_t.
*/