summaryrefslogtreecommitdiff
path: root/vrrpd/vrrp_vty.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-05-17 00:21:52 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-05-17 00:27:08 +0000
commit19c38250041783559ba9021373ee748222cdc848 (patch)
treed4e8d233d75fedf8b7fc98aeb5555c61d4df129f /vrrpd/vrrp_vty.c
parent5ebcbd1578657987d160347b0446379e063fc181 (diff)
vrrpd, zebra: fix checkpatch warnings
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'vrrpd/vrrp_vty.c')
-rw-r--r--vrrpd/vrrp_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vrrpd/vrrp_vty.c b/vrrpd/vrrp_vty.c
index b14efc33e7..48d81b0258 100644
--- a/vrrpd/vrrp_vty.c
+++ b/vrrpd/vrrp_vty.c
@@ -144,8 +144,8 @@ DEFPY(vrrp_advertisement_interval,
VTY_DECLVAR_CONTEXT(interface, ifp);
struct vrrp_vrouter *vr;
- uint16_t newadvint = no ? vd.advertisement_interval * 10:
- advertisement_interval;
+ uint16_t newadvint =
+ no ? vd.advertisement_interval * 10 : advertisement_interval;
if (newadvint % 10 != 0) {
vty_out(vty, "%% Value must be a multiple of 10\n");