Commit 7074be22 authored by Ondřej Zajíček's avatar Ondřej Zajíček
Browse files

Netlink: Fix device route delete

parent 5dbeb87e
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment