]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospf6d/ospf6_message.c
ospfd, ospf6d: introduce the "graceful-restart hello-delay" command
[mirror_frr.git] / ospf6d / ospf6_message.c
index 14b02dac7969e54e727fecc295605c7469fe82ee..032988a91f36c48c61db565686d58b1f57faeb58 100644 (file)
@@ -2244,6 +2244,10 @@ void ospf6_hello_send(struct event *thread)
 
        oi = (struct ospf6_interface *)EVENT_ARG(thread);
 
+       /* Check if the GR hello-delay is active. */
+       if (oi->gr.hello_delay.t_grace_send)
+               return;
+
        if (oi->state <= OSPF6_INTERFACE_DOWN) {
                if (IS_OSPF6_DEBUG_MESSAGE(OSPF6_MESSAGE_TYPE_HELLO, SEND_HDR))
                        zlog_debug("Unable to send Hello on down interface %s",