The fact that the interface name is used in some nexthop config doesn't
mean that the interface is configured.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
nhg_hooks.add_nexthop(nhgc, nh);
}
- if (intf) {
- struct interface *ifp = if_lookup_by_name_all_vrf(intf);
-
- if (ifp)
- ifp->configured = true;
- }
return CMD_SUCCESS;
}
if (ifp->ifindex != nhop.ifindex)
continue;
- ifp->configured = true;
nh = nexthop_new();
memcpy(nh, &nhop, sizeof(nhop));