mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 18:25:00 +00:00
Merge pull request #14251 from donaldsharp/protodown_rc_issue
zebra: Prevent protodown_rc from going Bzonkas
This commit is contained in:
commit
5acbff964e
@ -1195,6 +1195,12 @@ static bool if_ignore_set_protodown(const struct interface *ifp, bool new_down,
|
||||
|
||||
zif = ifp->info;
|
||||
|
||||
/*
|
||||
* FRR does not have enough data to make this request
|
||||
*/
|
||||
if (ifp->ifindex == IFINDEX_INTERNAL)
|
||||
return true;
|
||||
|
||||
/* Current state as we know it */
|
||||
old_down = !!(ZEBRA_IF_IS_PROTODOWN(zif));
|
||||
old_set_down = !!CHECK_FLAG(zif->flags, ZIF_FLAG_SET_PROTODOWN);
|
||||
|
Loading…
Reference in New Issue
Block a user