summaryrefslogtreecommitdiffstats
path: root/src/peer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peer.c')
-rw-r--r--src/peer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/peer.c b/src/peer.c
index 7f1ccb5..3b66bae 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -971,7 +971,7 @@ static bool maintain_peer(fastd_peer_t *peer) {
}
/** Removes all time-outed MAC addresses from \e ctx.eth_addrs */
-static void eth_addr_cleanup(void) {
+void fastd_peer_eth_addr_cleanup(void) {
size_t i, deleted = 0;
for (i = 0; i < VECTOR_LEN(ctx.eth_addrs); i++) {
@@ -997,8 +997,6 @@ void fastd_peer_maintenance(void) {
if (maintain_peer(peer))
i++;
}
-
- eth_addr_cleanup();
}
/** Resets all peers */