1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Nexthop: Support for label stack in nest

This commit is contained in:
Jan Moskyto Matejka
2016-06-10 14:34:41 +02:00
parent 5b208e296f
commit ec5e5d23fa
6 changed files with 83 additions and 29 deletions

View File

@@ -37,6 +37,7 @@ static inline struct nexthop *
new_nexthop(struct ospf_proto *p, ip_addr gw, struct iface *iface, byte weight)
{
struct nexthop *nh = lp_alloc(p->nhpool, sizeof(struct nexthop));
nh->labels = 0;
nh->gw = gw;
nh->iface = iface;
nh->next = NULL;