summaryrefslogtreecommitdiff
path: root/proto/static
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 /proto/static
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 'proto/static')
-rw-r--r--proto/static/static.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/proto/static/static.c b/proto/static/static.c
index d4b1c5f3..ff833b16 100644
--- a/proto/static/static.c
+++ b/proto/static/static.c
@@ -56,7 +56,6 @@ static_announce_rte(struct static_proto *p, struct static_route *r)
rta *a = allocz(RTA_MAX_SIZE);
struct rte_src *src = static_get_source(p, r->index);
a->source = RTS_STATIC;
- a->scope = SCOPE_UNIVERSE;
a->dest = r->dest;
ea_set_attr_u32(&a->eattrs, &ea_gen_preference, 0, p->p.main_channel->preference);