]> git.proxmox.com Git - mirror_frr.git/commitdiff
ripngd: Add missing systemd notifications
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 11 Feb 2016 13:18:43 +0000 (08:18 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 11 Feb 2016 13:18:43 +0000 (08:18 -0500)
Initial pass of adding systemd callbacks were missed for
ripngd.  This commit adds those calls.

Ticket: CM-9267
Reviewed-by: Don Slice
Testing: See Bug

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ripngd/ripng_main.c

index 6fb0d00abde063b33a5f4c7c2022b08e0567c3e7..43b74fac3fa7443e84cadd026e6a2b62fcce9f15 100644 (file)
@@ -155,6 +155,7 @@ sigint (void)
   if (! retain_mode)
     ripng_clean ();
 
+  systemd_send_stopping ();
   exit (0);
 }
 
@@ -299,6 +300,8 @@ main (int argc, char **argv)
       exit (1);
     }
 
+  systemd_send_started (master);
+
   /* Create VTY socket */
   vty_serv_sock (vty_addr, vty_port, RIPNG_VTYSH_PATH);