mac addresses were never flushed

Signed-off-by: John Crispin <[email protected]>
This commit is contained in:
John Crispin
2023-03-15 15:21:44 +01:00
parent 3d2b67b180
commit 979aca4764
9 changed files with 129 additions and 6 deletions
+10
View File
@@ -104,3 +104,13 @@ interface_dump(void)
}
return 0;
}
void
interface_done(void)
{
struct interface *i, *t;
avl_for_each_element_safe(&interface_tree, i, avl, t)
free(i);
}