*** old/authsrv.c	1997/01/18 20:40:10
--- authsrv.c	1997/03/18 04:08:31
***************
*** 9,15 ****
  /*
   *	Author: Marcus J. Ranum, Trusted Information Systems, Inc.
   */
! static	char	RcsId[] = "$Header: /usr/home/rick/fwtk2.0/fwtk/auth/RCS/authsrv.c,v 1.17 1997/01/18 20:40:10 rick Exp $";
  #include	<stdio.h>
  #include	<syslog.h>
  #include	<time.h>
--- 9,15 ----
  /*
   *	Author: Marcus J. Ranum, Trusted Information Systems, Inc.
   */
! static	char	RcsId[] = "$Header: /usr/home/rick/fwtk2.0/fwtk/auth/RCS/authsrv.c,v 1.18 1997/03/18 04:08:22 rick Exp $";
  #include	<stdio.h>
  #include	<syslog.h>
  #include	<time.h>
***************
*** 853,861 ****
  		return(0);
  	}
  
! 	if(ac > 2 && !strncmp(av[2],"onetime",strlen(av[2])))
  		onetime = 1;
! 	else {
  		srvsay("Unrecognized command parameter");
  		return(0);
  	}
--- 853,861 ----
  		return(0);
  	}
  
! 	if(ac == 3 && !strncmp(av[2],"onetime",strlen(av[2])))
  		onetime = 1;
! 	else if(ac > 2) {
  		srvsay("Unrecognized command parameter");
  		return(0);
  	}
***************
*** 873,879 ****
  	}
  
  	if(av[0][0] == 'e' || av[0][0] == 'E') {
! 		authbuf.flgs &= ~(AUTHFLG_DIS | AUTHFLG_BSLP);
  		if(onetime)
  			authbuf.flgs |= AUTHFLG_ONETIME;
  		authbuf.bcnt = 0;
--- 873,879 ----
  	}
  
  	if(av[0][0] == 'e' || av[0][0] == 'E') {
! 		authbuf.flgs &= ~(AUTHFLG_DIS | AUTHFLG_BSLP | AUTHFLG_ONETIME);
  		if(onetime)
  			authbuf.flgs |= AUTHFLG_ONETIME;
  		authbuf.bcnt = 0;
