summaryrefslogtreecommitdiff
path: root/vrrpd/vrrp.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-04-24 17:02:14 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-05-17 00:27:08 +0000
commit33b010a97693cef8bbe120d8205099b581e573fe (patch)
tree7db0ffb22d82ef8258bf7bf723163fe7b7279010 /vrrpd/vrrp.c
parentf9d31f6f6c2b2ad88629ec533861ee57b657b11f (diff)
vrrpd: convert defaults command to milliseconds
Missed this in the conversion from centiseconds to milliseconds. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'vrrpd/vrrp.c')
-rw-r--r--vrrpd/vrrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vrrpd/vrrp.c b/vrrpd/vrrp.c
index 7b66492c11..1e01307ed1 100644
--- a/vrrpd/vrrp.c
+++ b/vrrpd/vrrp.c
@@ -2300,7 +2300,7 @@ int vrrp_config_write_global(struct vty *vty)
if (vd.advertisement_interval != VRRP_DEFAULT_ADVINT && ++writes)
vty_out(vty,
"vrrp default advertisement-interval %" PRIu16 "\n",
- vd.advertisement_interval);
+ vd.advertisement_interval * CS2MS);
if (vd.preempt_mode != VRRP_DEFAULT_PREEMPT && ++writes)
vty_out(vty, "%svrrp default preempt\n",