summaryrefslogtreecommitdiffstats
path: root/proto/ospf/rt.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-06-01 14:07:13 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-06-01 14:07:13 +0200
commitf98e2915794e8641f0704b22cbd9b574514f5b23 (patch)
treede8aa4df32a205df1c093c089d44a790cf3bafde /proto/ospf/rt.c
parent2d45e09f58c4ce857e10c241cf0e89b51b9ec49c (diff)
downloadbird-f98e2915794e8641f0704b22cbd9b574514f5b23.tar
bird-f98e2915794e8641f0704b22cbd9b574514f5b23.zip
The pipe cleanup.
Diffstat (limited to 'proto/ospf/rt.c')
-rw-r--r--proto/ospf/rt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c
index f906de9..79b21e6 100644
--- a/proto/ospf/rt.c
+++ b/proto/ospf/rt.c
@@ -1003,11 +1003,11 @@ again1:
e->pref = p->preference;
DBG("Mod rte type %d - %I/%d via %I on iface %s, met %d\n",
a0.source, nf->fn.prefix, nf->fn.pxlen, a0.gw, a0.iface ? a0.iface->name : "(none)", nf->n.metric1);
- rte_update(p->table, ne, p, e);
+ rte_update(p->table, ne, p, p, e);
}
else
{
- rte_update(p->table, ne, p, NULL);
+ rte_update(p->table, ne, p, p, NULL);
FIB_ITERATE_PUT(&fit, nftmp);
fib_delete(fib, nftmp);
goto again1;