summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2011-08-24 15:02:12 +0400
committerKozlov Dmitry <dima@server>2011-08-24 15:02:12 +0400
commit5bb8b536b0caeeec9be31fbf87e74d97a29e1ee9 (patch)
tree6abffbb2c68e6859a5f3f183419bb55bc0f586c0 /accel-pppd
parent44bdbbe118396789a7eacb833f37fcee5872b1a4 (diff)
downloadaccel-ppp-5bb8b536b0caeeec9be31fbf87e74d97a29e1ee9.tar.gz
accel-ppp-5bb8b536b0caeeec9be31fbf87e74d97a29e1ee9.zip
ipdb: fix buf of ipv6 address put
Diffstat (limited to 'accel-pppd')
-rw-r--r--accel-pppd/ipdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ipdb.c b/accel-pppd/ipdb.c
index 8054e6bf..fccf9f44 100644
--- a/accel-pppd/ipdb.c
+++ b/accel-pppd/ipdb.c
@@ -45,7 +45,7 @@ struct ipv6db_item_t __export *ipdb_get_ipv6(struct ppp_t *ppp)
void __export ipdb_put_ipv6(struct ppp_t *ppp, struct ipv6db_item_t *it)
{
- if (it->owner->put_ipv4)
+ if (it->owner->put_ipv6)
it->owner->put_ipv6(ppp, it);
}