mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 02:37:21 +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];
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
@ -209,7 +209,7 @@ static int bgp_ifp_destroy(struct interface *ifp)
|
||||
bgp = bgp_lookup_by_vrf_id(ifp->vrf_id);
|
||||
|
||||
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)
|
||||
bgp_update_interface_nbrs(bgp, ifp, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user