gtphub_test: add some cleanup asserts.
Sponsored-by: On-Waves ehi
This commit is contained in:
parent
10fc024472
commit
99a50b3529
|
@ -625,6 +625,11 @@ static int clear_test_hub()
|
|||
LVL2_ASSERT(llist_empty(&hub->to_gsns[GTPH_SIDE_GGSN][plane_idx].peers));
|
||||
LVL2_ASSERT(llist_empty(&hub->to_gsns[GTPH_SIDE_SGSN][plane_idx].peers));
|
||||
|
||||
LVL2_ASSERT(llist_empty(&hub->tunnels));
|
||||
LVL2_ASSERT(llist_empty(&hub->pending_deletes));
|
||||
LVL2_ASSERT(llist_empty(&hub->ggsn_lookups));
|
||||
LVL2_ASSERT(llist_empty(&hub->resolved_ggsns));
|
||||
|
||||
gtphub_free(hub);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue