summaryrefslogtreecommitdiff
path: root/src/bpf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bpf.c')
-rw-r--r--src/bpf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bpf.c b/src/bpf.c
index fea84b1..4416b1c 100644
--- a/src/bpf.c
+++ b/src/bpf.c
@@ -401,7 +401,7 @@ void route_sock(void)
else if (msg->ifm_type == RTM_NEWADDR)
{
del_family = 0;
- send_newaddr();
+ queue_event(EVENT_NEWADDR);
}
else if (msg->ifm_type == RTM_DELADDR)
{
@@ -439,7 +439,7 @@ void route_sock(void)
of += sizeof(long) - (diff & (sizeof(long) - 1));
}
- send_newaddr();
+ queue_event(EVENT_NEWADDR);
}
}