summaryrefslogtreecommitdiffstats
path: root/vrrpd/vrrp_vty.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-02-28 22:41:21 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-05-17 02:27:08 +0200
commit323cc42ac190c2b087a4b19cea6e9bd580c0dff7 (patch)
tree6007c59aa78072eef6b55ff95b4e2245c79a1192 /vrrpd/vrrp_vty.c
parentvrrpd: check start for manual v6 addr add (diff)
downloadfrr-323cc42ac190c2b087a4b19cea6e9bd580c0dff7.tar.xz
frr-323cc42ac190c2b087a4b19cea6e9bd580c0dff7.zip
vrrpd: fix unsigned - signed cmp
For some reason this warning only shows up on armel Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'vrrpd/vrrp_vty.c')
-rw-r--r--vrrpd/vrrp_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vrrpd/vrrp_vty.c b/vrrpd/vrrp_vty.c
index 4c474489f..3f6918539 100644
--- a/vrrpd/vrrp_vty.c
+++ b/vrrpd/vrrp_vty.c
@@ -555,7 +555,7 @@ DEFPY(vrrp_vrid_show,
for (ALL_LIST_ELEMENTS_RO(ll, ln, vr)) {
if (ifn && !strmatch(ifn, vr->ifp->name))
continue;
- if (vrid && vrid != vr->vrid)
+ if ((uint8_t) vrid && vrid != vr->vrid)
continue;
if (!json)