diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2016-04-02 20:25:13 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2016-04-02 20:25:13 +0300 |
commit | 7def2aa4a0af5eb26fc290257585a8c2901c0c3c (patch) | |
tree | 5aa0750758e7d48865d3c017db2a107a35baf440 /accel-pppd/include | |
parent | 60a945d8f075a5b90882455fa50678e2888b1d0f (diff) | |
download | accel-ppp-7def2aa4a0af5eb26fc290257585a8c2901c0c3c.tar.gz accel-ppp-7def2aa4a0af5eb26fc290257585a8c2901c0c3c.zip |
for single-session=deny make early check for duplicate username (before calling radius)
Diffstat (limited to 'accel-pppd/include')
-rw-r--r-- | accel-pppd/include/ap_session.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/include/ap_session.h b/accel-pppd/include/ap_session.h index c6f15dd..230eb26 100644 --- a/accel-pppd/include/ap_session.h +++ b/accel-pppd/include/ap_session.h @@ -140,6 +140,7 @@ void ap_session_terminate(struct ap_session *ses, int cause, int hard); void ap_session_activate(struct ap_session *ses); void ap_session_accounting_started(struct ap_session *ses); int ap_session_set_username(struct ap_session *ses, char *username); +int ap_check_username(const char *username); void ap_session_ifup(struct ap_session *ses); void ap_session_ifdown(struct ap_session *ses); |