From 3d6b2e94e31ea1f49b81a4d1d4c2289d4058b26a Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Thu, 28 Oct 2004 00:33:47 +0000 Subject: [PATCH] Patch from Robert Vogelgesang: This patch enables plugins called via hooks/notifiers triggered by this call to lcp_close() to see status set here. Otherwise (i. e. without this patch) the RADIUS plugin has no chance to set the attribute PW_ACCT_TERMINATE_CAUSE to the value PW_ACCT_SESSION_TIMEOUT. --- pppd/auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pppd/auth.c b/pppd/auth.c index 9a5e17e..40cb427 100644 --- a/pppd/auth.c +++ b/pppd/auth.c @@ -73,7 +73,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define RCSID "$Id: auth.c,v 1.96 2004/10/24 23:26:19 paulus Exp $" +#define RCSID "$Id: auth.c,v 1.97 2004/10/28 00:33:47 paulus Exp $" #include #include @@ -1072,8 +1072,8 @@ connect_time_expired(arg) void *arg; { info("Connect time expired"); - lcp_close(0, "Connect time expired"); /* Close connection */ status = EXIT_CONNECT_TIME; + lcp_close(0, "Connect time expired"); /* Close connection */ } /* -- 2.39.2