]> git.ozlabs.org Git - ppp.git/commit
radius: distinguish between User-Request and Admin-Reset.
authorJaco Kroon <jaco@uls.co.za>
Fri, 16 Dec 2022 19:09:31 +0000 (21:09 +0200)
committerJaco Kroon <jaco@uls.co.za>
Fri, 16 Dec 2022 19:09:31 +0000 (21:09 +0200)
commitcb80f7505cb21d5ba94ce834e0e7412e648fc141
tree76ef6dd4ab154efe35d1771d36d694c4b0191e0e
parent87640b7b5ceb562146a1c4b820c7e151ff078eec
radius: distinguish between User-Request and Admin-Reset.

For the purposes of our definition:

User-Request - remote side hanging up.
Admin-Reset - local side hanging up.

Reasoning is that typically radius will be used to authentication
dial-in users, so if the pppd gets killed locally, that's not the User
(client) requesting hangup, but rather the local administrator (be that
a manual kill, or as a result of a CoA/Disconnect).

Signed-off-by: Jaco Kroon <jaco@uls.co.za>
pppd/plugins/radius/radius.c