summaryrefslogtreecommitdiff
path: root/vrrpd/vrrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'vrrpd/vrrp.c')
-rw-r--r--vrrpd/vrrp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vrrpd/vrrp.c b/vrrpd/vrrp.c
index 449b2aca7d..3a9746d5a9 100644
--- a/vrrpd/vrrp.c
+++ b/vrrpd/vrrp.c
@@ -2013,6 +2013,9 @@ int vrrp_config_write_interface(struct vty *vty)
vr->version == 2 ? " version 2" : "");
++writes;
+ if (vr->shutdown && ++writes)
+ vty_out(vty, " vrrp %" PRIu8 " shutdown\n", vr->vrid);
+
if (!vr->preempt_mode && ++writes)
vty_out(vty, " no vrrp %" PRIu8 " preempt\n", vr->vrid);