summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/ppp.c
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-03-15 16:26:51 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-03-15 16:26:51 +0400
commit11f851af3472d4711628d9acd9d194a9aa3e3caa (patch)
tree69ae1052dae238774f0a2758579db3de7bb1ec04 /accel-pppd/ppp/ppp.c
parentd77729c3d6d4e646e0eb629a81faca90d61eea0c (diff)
downloadaccel-ppp-xebd-11f851af3472d4711628d9acd9d194a9aa3e3caa.tar.gz
accel-ppp-xebd-11f851af3472d4711628d9acd9d194a9aa3e3caa.zip
Revert "ppp: move ip address release to proper place"
This reverts commit d77729c3d6d4e646e0eb629a81faca90d61eea0c.
Diffstat (limited to 'accel-pppd/ppp/ppp.c')
-rw-r--r--accel-pppd/ppp/ppp.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/accel-pppd/ppp/ppp.c b/accel-pppd/ppp/ppp.c
index 178f33c..3ab7166 100644
--- a/accel-pppd/ppp/ppp.c
+++ b/accel-pppd/ppp/ppp.c
@@ -18,7 +18,6 @@
#include "events.h"
#include "ppp.h"
#include "ppp_fsm.h"
-#include "ipdb.h"
#include "log.h"
#include "spinlock.h"
#include "mempool.h"
@@ -256,16 +255,6 @@ static void destablish_ppp(struct ppp_t *ppp)
ppp->ipv6_pool_name = NULL;
}
- if (ppp->ipv4) {
- ipdb_put_ipv4(ppp, ppp->ipv4);
- ppp->ipv4 = NULL;
- }
-
- if (ppp->ipv6) {
- ipdb_put_ipv6(ppp, ppp->ipv6);
- ppp->ipv6 = NULL;
- }
-
if (ppp_shutdown && !ppp_stat.starting && !ppp_stat.active && !ppp_stat.finishing)
kill(getpid(), SIGTERM);
}