mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 07:37:54 +00:00
ripngd: Add missing systemd notifications
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>
This commit is contained in:
parent
b9590d4de4
commit
918f2966a8
@ -155,6 +155,7 @@ sigint (void)
|
|||||||
if (! retain_mode)
|
if (! retain_mode)
|
||||||
ripng_clean ();
|
ripng_clean ();
|
||||||
|
|
||||||
|
systemd_send_stopping ();
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -299,6 +300,8 @@ main (int argc, char **argv)
|
|||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
systemd_send_started (master);
|
||||||
|
|
||||||
/* Create VTY socket */
|
/* Create VTY socket */
|
||||||
vty_serv_sock (vty_addr, vty_port, RIPNG_VTYSH_PATH);
|
vty_serv_sock (vty_addr, vty_port, RIPNG_VTYSH_PATH);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user