]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/radius/radius.c
Merge pull request #378 from jkroonza/radius-admin-reset
[ppp.git] / pppd / plugins / radius / radius.c
index 999a30657eb343a21cbe53853ab98b54c6b7fd6d..c6dfdc192eb979eb04a3bd6f943f52c49cfc3b82 100644 (file)
@@ -1141,10 +1141,13 @@ radius_acct_stop(void)
     av_type = PW_NAS_ERROR;
     switch( status ) {
        case EXIT_OK:
-       case EXIT_USER_REQUEST:
            av_type = PW_USER_REQUEST;
            break;
 
+       case EXIT_USER_REQUEST:
+           av_type = PW_ADMIN_RESET;
+           break;
+
        case EXIT_HANGUP:
        case EXIT_PEER_DEAD:
        case EXIT_CONNECT_FAILED: