mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-20 01:58:42 +00:00
Netlink: Fix device route delete
This commit is contained in:
parent
5dbeb87ec9
commit
7074be22f1
@ -1143,7 +1143,7 @@ nl_send_route(struct krt_proto *p, rte *e, struct ea_list *eattrs, int op, int d
|
||||
r->r.rtm_family = p->af;
|
||||
r->r.rtm_dst_len = net_pxlen(net->n.addr);
|
||||
r->r.rtm_protocol = RTPROT_BIRD;
|
||||
r->r.rtm_scope = RT_SCOPE_UNIVERSE;
|
||||
r->r.rtm_scope = RT_SCOPE_NOWHERE;
|
||||
if (p->af == AF_MPLS)
|
||||
{
|
||||
u32 label = net_mpls(net->n.addr);
|
||||
|
Loading…
Reference in New Issue
Block a user