summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2010-11-30 23:03:48 +0300
committerDmitry Kozlov <xeb@mail.ru>2010-11-30 23:03:48 +0300
commitc84e577fceeccf8c7731a54f9155f8a42eb6c90b (patch)
tree04526e90cdde484c679a106a4db11ea31de627d5
parent5927a85ef17d95bed836859fc3842cbbd78a1917 (diff)
downloadaccel-ppp-c84e577fceeccf8c7731a54f9155f8a42eb6c90b.tar.gz
accel-ppp-c84e577fceeccf8c7731a54f9155f8a42eb6c90b.zip
ppp: use atomic increment as session generation procedure
radius: DM/CoA: skip unauthorized sessions in session search procedure
-rw-r--r--accel-pptpd/ppp/ppp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/accel-pptpd/ppp/ppp.c b/accel-pptpd/ppp/ppp.c
index 79c2d2bd..a9c6eea2 100644
--- a/accel-pptpd/ppp/ppp.c
+++ b/accel-pptpd/ppp/ppp.c
@@ -618,7 +618,6 @@ static void __init init(void)
f = fopen(opt, "r");
if (f) {
fscanf(f, "%llu", &seq);
- seq = sid;
fclose(f);
} else
//log_emerg("ppp: failed to open seq-file (%s): %s\n", opt, strerror(errno));