summaryrefslogtreecommitdiff
path: root/sysdep/linux/netlink.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-03-28 18:14:32 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-03-28 18:27:08 +0200
commit7074be22f1a8a42ec738fd34125e36a732f311a5 (patch)
tree1a4c5c30ceef0c6de05d424df177aaeb5ccf2eaa /sysdep/linux/netlink.c
parent5dbeb87ec96157ca95c84d881e014614dd3164a3 (diff)
Netlink: Fix device route delete
Diffstat (limited to 'sysdep/linux/netlink.c')
-rw-r--r--sysdep/linux/netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c
index 68d8560c..897c3c6c 100644
--- a/sysdep/linux/netlink.c
+++ b/sysdep/linux/netlink.c
@@ -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);