diff options
author | joshua stein <jcs@cvs.openbsd.org> | 2004-03-03 22:05:16 +0000 |
---|---|---|
committer | joshua stein <jcs@cvs.openbsd.org> | 2004-03-03 22:05:16 +0000 |
commit | 4b97187c1e508ef60343abc7a24af382dd6b83b3 (patch) | |
tree | 31774126fac848be8e97743540eecd73f323594d /libexec | |
parent | b339c2abb045122f7790fdddfdeb02606db805d9 (diff) |
assign servtimeout to sa.sa_handler to actually use the alternate
radius server
ok millert
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/login_radius/raddauth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/login_radius/raddauth.c b/libexec/login_radius/raddauth.c index 4c7d822ec69..450481a1844 100644 --- a/libexec/login_radius/raddauth.c +++ b/libexec/login_radius/raddauth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raddauth.c,v 1.14 2003/07/06 21:54:38 deraadt Exp $ */ +/* $OpenBSD: raddauth.c,v 1.15 2004/03/03 22:05:15 jcs Exp $ */ /*- * Copyright (c) 1996, 1997 Berkeley Software Design, Inc. All rights reserved. @@ -253,6 +253,7 @@ raddauth(char *username, char *class, char *style, char *challenge, vector[AUTH_VECTOR_LEN] = '\0'; sigemptyset(&sa.sa_mask); + sa.sa_handler = servtimeout; sa.sa_flags = 0; /* don't restart system calls */ (void)sigaction(SIGALRM, &sa, NULL); retry: |