summaryrefslogtreecommitdiff
path: root/sysdep/linux
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-05-04 12:41:54 +0200
committerMaria Matejka <mq@ucw.cz>2022-05-04 15:39:21 +0200
commit702c04fbef222e802ca4dfac645dc75ede522db6 (patch)
treecf962b4003b0e7115ab230924cbdb0775a7cba45 /sysdep/linux
parent0c4e0e4a635169cada395144dd67d1e66f1c9649 (diff)
Removing the route scope attribute. Use custom attributes instead.
The route scope attribute was used for simple user route marking. As there is a better tool for this (custom attributes), the old and limited way can be dropped.
Diffstat (limited to 'sysdep/linux')
-rw-r--r--sysdep/linux/netlink.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c
index 23d41b56..c506c71c 100644
--- a/sysdep/linux/netlink.c
+++ b/sysdep/linux/netlink.c
@@ -1855,7 +1855,6 @@ nl_parse_route(struct nl_parse_state *s, struct nlmsghdr *h)
rta *ra = lp_allocz(s->pool, RTA_MAX_SIZE);
ra->source = RTS_INHERIT;
- ra->scope = SCOPE_UNIVERSE;
if (a[RTA_FLOW])
s->rta_flow = rta_get_u32(a[RTA_FLOW]);