summaryrefslogtreecommitdiff
path: root/proto/bgp
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-04 21:23:10 +0000
committerMartin Mares <mj@ucw.cz>2000-05-04 21:23:10 +0000
commitbeaf86e13c6b9595bc979b5ed9669e3e43f793cd (patch)
tree7f7be17262c4eb8b17d8aa09939caf757f7a5459 /proto/bgp
parent9a220cabbc28a4e54f814aa5d596696a15e6544d (diff)
Removed RTS_RIP_EXT.
Diffstat (limited to 'proto/bgp')
-rw-r--r--proto/bgp/attrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c
index ff434e56..ee9d597e 100644
--- a/proto/bgp/attrs.c
+++ b/proto/bgp/attrs.c
@@ -561,7 +561,7 @@ bgp_create_attrs(struct bgp_proto *p, rte *e, ea_list **attrs, struct linpool *p
ea->count = 4;
bgp_set_attr(ea->attrs, pool, BA_ORIGIN,
- (rta->source == RTS_RIP_EXT || rta->source == RTS_OSPF_EXT) ? ORIGIN_INCOMPLETE : ORIGIN_IGP);
+ (rta->source == RTS_OSPF_EXT) ? ORIGIN_INCOMPLETE : ORIGIN_IGP);
if (p->is_internal)
bgp_set_attr(ea->attrs+1, pool, BA_AS_PATH, 0);