summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ldpd/interface.c')
-rw-r--r--usr.sbin/ldpd/interface.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/interface.c b/usr.sbin/ldpd/interface.c
index 3441b564eee..aea184212f1 100644
--- a/usr.sbin/ldpd/interface.c
+++ b/usr.sbin/ldpd/interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: interface.c,v 1.18 2013/06/04 02:28:27 claudio Exp $ */
+/* $OpenBSD: interface.c,v 1.19 2013/06/04 02:39:10 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -225,6 +225,8 @@ if_start_hello_timer(struct iface *iface)
{
struct timeval tv;
+ send_hello(HELLO_LINK, iface, NULL);
+
timerclear(&tv);
tv.tv_sec = iface->hello_interval;
if (evtimer_add(&iface->hello_timer, &tv) == -1)