summaryrefslogtreecommitdiff
path: root/accel-pppd/extra/chap-secrets.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2011-08-20 10:05:23 +0400
committerDmitry Kozlov <xeb@mail.ru>2011-08-20 10:05:23 +0400
commita93e43804c9a37b3cc2141d5ada3158653a7a221 (patch)
tree96e51396d3d7cd2c2ba69d274faa7a9760df457e /accel-pppd/extra/chap-secrets.c
parent5ef49162ea9763ca9878c22e3736766d8f1db014 (diff)
parentef1d4c04584076dc77fc8df62c996feb1ac10c41 (diff)
downloadaccel-ppp-a93e43804c9a37b3cc2141d5ada3158653a7a221.tar.gz
accel-ppp-a93e43804c9a37b3cc2141d5ada3158653a7a221.zip
Merge branch 'ipv6'
Diffstat (limited to 'accel-pppd/extra/chap-secrets.c')
-rw-r--r--accel-pppd/extra/chap-secrets.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/accel-pppd/extra/chap-secrets.c b/accel-pppd/extra/chap-secrets.c
index 20565b9..61cd2a9 100644
--- a/accel-pppd/extra/chap-secrets.c
+++ b/accel-pppd/extra/chap-secrets.c
@@ -24,7 +24,7 @@ static struct ipdb_t ipdb;
struct cs_pd_t
{
struct ppp_pd_t pd;
- struct ipdb_item_t ip;
+ struct ipv4db_item_t ip;
char *passwd;
char *rate;
};
@@ -212,7 +212,7 @@ static void ev_ppp_pre_up(struct ppp_t *ppp)
}
}
-static struct ipdb_item_t *get_ip(struct ppp_t *ppp)
+static struct ipv4db_item_t *get_ip(struct ppp_t *ppp)
{
struct cs_pd_t *pd;
@@ -244,7 +244,7 @@ static char* get_passwd(struct pwdb_t *pwdb, struct ppp_t *ppp, const char *user
}
static struct ipdb_t ipdb = {
- .get = get_ip,
+ .get_ipv4 = get_ip,
};
static struct pwdb_t pwdb = {