forked from Mirror/frr
Merge pull request #5309 from donaldsharp/install_nhg_kernel
zebra: Allow zebra to install nexthop groups into linux kernel
This commit is contained in:
commit
53d19f2d6e
|
@ -2456,7 +2456,6 @@ int netlink_nexthop_change(struct nlmsghdr *h, ns_id_t ns_id, int startup)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0 /* Force off kernel nexthop group installs for now */
|
|
||||||
/**
|
/**
|
||||||
* netlink_request_nexthop() - Request nextop information from the kernel
|
* netlink_request_nexthop() - Request nextop information from the kernel
|
||||||
* @zns: Zebra namespace
|
* @zns: Zebra namespace
|
||||||
|
@ -2515,12 +2514,6 @@ int netlink_nexthop_read(struct zebra_ns *zns)
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
int netlink_nexthop_read(struct zebra_ns *zns)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
int kernel_neigh_update(int add, int ifindex, uint32_t addr, char *lla,
|
int kernel_neigh_update(int add, int ifindex, uint32_t addr, char *lla,
|
||||||
|
|
Loading…
Reference in a new issue