From 702c04fbef222e802ca4dfac645dc75ede522db6 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Wed, 4 May 2022 12:41:54 +0200 Subject: 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. --- proto/static/static.c | 1 - 1 file changed, 1 deletion(-) (limited to 'proto/static') 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); -- cgit v1.2.3