diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-06-01 14:07:13 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-06-01 14:07:13 +0200 |
commit | f98e2915794e8641f0704b22cbd9b574514f5b23 (patch) | |
tree | de8aa4df32a205df1c093c089d44a790cf3bafde /nest/rt-dev.c | |
parent | 2d45e09f58c4ce857e10c241cf0e89b51b9ec49c (diff) |
The pipe cleanup.
Diffstat (limited to 'nest/rt-dev.c')
-rw-r--r-- | nest/rt-dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/rt-dev.c b/nest/rt-dev.c index 348bcc2e..b86015df 100644 --- a/nest/rt-dev.c +++ b/nest/rt-dev.c @@ -44,7 +44,7 @@ dev_ifa_notify(struct proto *p, unsigned c, struct ifa *ad) DBG("dev_if_notify: device shutdown: prefix not found\n"); return; } - rte_update(p->table, n, p, NULL); + rte_update(p->table, n, p, p, NULL); } else if (c & IF_CHANGE_UP) { @@ -66,7 +66,7 @@ dev_ifa_notify(struct proto *p, unsigned c, struct ifa *ad) e = rte_get_temp(a); e->net = n; e->pflags = 0; - rte_update(p->table, n, p, e); + rte_update(p->table, n, p, p, e); } } |