mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Corrected mistake that was causing daemon to loop without serving
user requests. Note that nothing can be said about the value of 'user' unless User != NULL.
This commit is contained in:
parent
32c0c324d5
commit
de44c0a11d
1 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#ifndef lint
|
||||
static const char rcsid[] =
|
||||
"$Id$";
|
||||
"$Id: xtend.c,v 1.6 1997/12/04 07:25:19 charnier Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
|
|
@ -284,7 +284,7 @@ char *argv[];
|
|||
logpacket(rpkt);
|
||||
processpacket(rpkt);
|
||||
}
|
||||
} else if(FD_ISSET(user, &fs)) {
|
||||
} else if(FD_ISSET(user, &fs) && User != NULL) {
|
||||
if(User != NULL) {
|
||||
if(user_command()) {
|
||||
fprintf(Log, "%s: Closing user connection\n", thedate());
|
||||
|
|
|
|||
Loading…
Reference in a new issue