Commit 7074be22 authored by Ondrej Zajicek (work)'s avatar Ondrej Zajicek (work)
Browse files

Netlink: Fix device route delete

parent 5dbeb87e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);