summaryrefslogtreecommitdiff
path: root/proto/bgp/packets.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-01-20 16:20:03 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2012-01-20 16:20:03 +0100
commit3ce17142791b2e1a7f0b8e512b5b74224600056c (patch)
tree746a6efb43842530f313adeab4f3b15520e5d83f /proto/bgp/packets.c
parent2c5ca47ad4d18cae162c2ddf85af2dedb89f00a5 (diff)
Fixes a new bug in BGP route ordering.
Diffstat (limited to 'proto/bgp/packets.c')
-rw-r--r--proto/bgp/packets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c
index 998abb7b..d3e9b6a1 100644
--- a/proto/bgp/packets.c
+++ b/proto/bgp/packets.c
@@ -906,6 +906,7 @@ bgp_do_rx_update(struct bgp_conn *conn,
rte *e = rte_get_temp(rta_clone(a));
e->net = net_get(p->p.table, prefix, pxlen);
e->pflags = 0;
+ e->u.bgp.suppressed = 0;
rte_update(p->p.table, e->net, &p->p, &p->p, e);
}
else
@@ -1024,6 +1025,7 @@ bgp_do_rx_update(struct bgp_conn *conn,
rte *e = rte_get_temp(rta_clone(a));
e->net = net_get(p->p.table, prefix, pxlen);
e->pflags = 0;
+ e->u.bgp.suppressed = 0;
rte_update(p->p.table, e->net, &p->p, &p->p, e);
}
else