diff options
| -rw-r--r-- | vrrpd/vrrp_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vrrpd/vrrp_vty.c b/vrrpd/vrrp_vty.c index 2a7a6ecfc4..0498d3c260 100644 --- a/vrrpd/vrrp_vty.c +++ b/vrrpd/vrrp_vty.c @@ -561,7 +561,7 @@ DEFPY(vrrp_vrid_show, for (ALL_LIST_ELEMENTS_RO(ll, ln, vr)) { if (ifn && !strmatch(ifn, vr->ifp->name)) continue; - if ((uint8_t) vrid && vrid != vr->vrid) + if (vrid && ((uint8_t) vrid) != vr->vrid) continue; if (!json) |
