An interface reconfiguration may change the hello interval. Section
3.4.1 of the RFC specifies that either the change shouldn't be applied
until the next hello is due, or an additional hello should be sent
immediately. This does the latter.

Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
---
 proto/babel/babel.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/proto/babel/babel.c b/proto/babel/babel.c
index 8e104d6..4b28f69 100644
--- a/proto/babel/babel.c
+++ b/proto/babel/babel.c
@@ -1539,7 +1539,10 @@ babel_reconfigure_iface(struct babel_proto *p, struct 
babel_iface *ifa, struct b
     babel_iface_update_state(ifa);
 
   if (ifa->up)
+  {
+    babel_send_hello(ifa, 0);
     babel_iface_kick_timer(ifa);
+  }
 
   return 1;
 }
-- 
2.8.0

Reply via email to