1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

The pipe cleanup.

This commit is contained in:
Ondrej Zajicek
2009-06-01 14:07:13 +02:00
parent 2d45e09f58
commit f98e291579
11 changed files with 69 additions and 36 deletions

View File

@@ -280,7 +280,7 @@ krt_learn_announce_update(struct krt_proto *p, rte *e)
ee->pflags = 0;
ee->pref = p->p.preference;
ee->u.krt = e->u.krt;
rte_update(p->p.table, nn, &p->p, ee);
rte_update(p->p.table, nn, &p->p, &p->p, ee);
}
static void
@@ -288,7 +288,7 @@ krt_learn_announce_delete(struct krt_proto *p, net *n)
{
n = net_find(p->p.table, n->n.prefix, n->n.pxlen);
if (n)
rte_update(p->p.table, n, &p->p, NULL);
rte_update(p->p.table, n, &p->p, &p->p, NULL);
}
static void