Use event system to re-send query on new route. Tidies module boundaries.

This commit is contained in:
Simon Kelley committed 2014-07-08 22:22:02 +01:00
1 parent cdb755c5f1
commit 47a9516980
6 files changed
+37 -30

No files matched your search

+2 -2
View File
@@ -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);
}
}