summaryrefslogtreecommitdiff
path: root/proto/bgp
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/bgp
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/bgp')
-rw-r--r--proto/bgp/packets.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c
index 9760ebee..62d60e9a 100644
--- a/proto/bgp/packets.c
+++ b/proto/bgp/packets.c
@@ -2475,7 +2475,6 @@ bgp_decode_nlri(struct bgp_parse_state *s, u32 afi, byte *nlri, uint len, ea_lis
a = allocz(RTA_MAX_SIZE);
a->source = RTS_BGP;
- a->scope = SCOPE_UNIVERSE;
a->eattrs = ea;
ea_set_attr_data(&a->eattrs, &ea_gen_from, 0, &s->proto->remote_ip, sizeof(ip_addr));