summaryrefslogtreecommitdiff
path: root/sysdep/unix/krt.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-01-23 03:15:12 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2012-01-23 03:15:12 +0100
commit09686693d35bd71187847c95c0967d4125215b97 (patch)
tree842c54fdb63daad9015af1da09e710c0bc52b3b0 /sysdep/unix/krt.c
parent732a0a257d180a95a02587203555b8552b6128ac (diff)
Implements handling of BSD iface arrival/departure notifications.
Thanks to Alexander V. Chernikov for original patch.
Diffstat (limited to 'sysdep/unix/krt.c')
-rw-r--r--sysdep/unix/krt.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c
index e5a8ce17..ad8ea6b6 100644
--- a/sysdep/unix/krt.c
+++ b/sysdep/unix/krt.c
@@ -104,6 +104,13 @@ kif_force_scan(void)
}
}
+void
+kif_request_scan(void)
+{
+ if (kif_proto && kif_scan_timer->expires > now)
+ tm_start(kif_scan_timer, 1);
+}
+
static struct proto *
kif_init(struct proto_config *c)
{