mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-17 20:09:38 +00:00
Revert "zebra: Do not check for l3vni oper up in nh uninstall"
This reverts commit d8f5884846ead8fc78f36c68db5ed52e758b6e87.
This commit is contained in:
parent
84915b0a15
commit
d560078848
@ -3231,6 +3231,9 @@ static int zl3vni_nh_install(zebra_l3vni_t *zl3vni,
|
|||||||
static int zl3vni_nh_uninstall(zebra_l3vni_t *zl3vni,
|
static int zl3vni_nh_uninstall(zebra_l3vni_t *zl3vni,
|
||||||
zebra_neigh_t *n)
|
zebra_neigh_t *n)
|
||||||
{
|
{
|
||||||
|
if (!is_l3vni_oper_up(zl3vni))
|
||||||
|
return -1;
|
||||||
|
|
||||||
if (!(n->flags & ZEBRA_NEIGH_REMOTE) ||
|
if (!(n->flags & ZEBRA_NEIGH_REMOTE) ||
|
||||||
!(n->flags & ZEBRA_NEIGH_REMOTE_NH))
|
!(n->flags & ZEBRA_NEIGH_REMOTE_NH))
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user