mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 08:32:45 +00:00
Merge pull request #5102 from donaldsharp/fix_some_warnings
Fix some warnings
This commit is contained in:
commit
bf9846bdbe
@ -1234,7 +1234,8 @@ DEFPY (show_rpki_prefix,
|
|||||||
const struct pfx_record *record = &matches[i];
|
const struct pfx_record *record = &matches[i];
|
||||||
|
|
||||||
if (record->max_len >= prefix->prefixlen
|
if (record->max_len >= prefix->prefixlen
|
||||||
&& ((asn != 0 && asn == record->asn) || asn == 0)) {
|
&& ((asn != 0 && (uint32_t)asn == record->asn)
|
||||||
|
|| asn == 0)) {
|
||||||
print_record(&matches[i], vty);
|
print_record(&matches[i], vty);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -209,7 +209,7 @@ static int bgp_ifp_destroy(struct interface *ifp)
|
|||||||
bgp = bgp_lookup_by_vrf_id(ifp->vrf_id);
|
bgp = bgp_lookup_by_vrf_id(ifp->vrf_id);
|
||||||
|
|
||||||
if (BGP_DEBUG(zebra, ZEBRA))
|
if (BGP_DEBUG(zebra, ZEBRA))
|
||||||
zlog_debug("Rx Intf del VRF %u IF %s", bgp->vrf_id, ifp->name);
|
zlog_debug("Rx Intf del VRF %u IF %s", ifp->vrf_id, ifp->name);
|
||||||
|
|
||||||
if (bgp)
|
if (bgp)
|
||||||
bgp_update_interface_nbrs(bgp, ifp, NULL);
|
bgp_update_interface_nbrs(bgp, ifp, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user