Revert "zebra: Do not check for l3vni oper up in nh uninstall"

This reverts commit d8f5884846ead8fc78f36c68db5ed52e758b6e87.
This commit is contained in:
vivek 2017-12-01 22:29:47 -08:00 committed by mitesh
parent 84915b0a15
commit d560078848

View File

@ -3231,6 +3231,9 @@ static int zl3vni_nh_install(zebra_l3vni_t *zl3vni,
static int zl3vni_nh_uninstall(zebra_l3vni_t *zl3vni,
zebra_neigh_t *n)
{
if (!is_l3vni_oper_up(zl3vni))
return -1;
if (!(n->flags & ZEBRA_NEIGH_REMOTE) ||
!(n->flags & ZEBRA_NEIGH_REMOTE_NH))
return 0;