*
*/
-static char *version="secnet version " VERSION " $Date: 1996/03/13 22:27:41 $";
+extern char version[];
+#include "secnet.h"
#include <stdio.h>
#include <string.h>
#include <getopt.h>
-#include <stdarg.h>
#include <errno.h>
+#include <unistd.h>
#include <sys/socket.h>
-#include <sys/poll.h>
-#include <sys/time.h>
-#include <netinet/in.h>
#include <arpa/inet.h>
-#include <adns.h>
#include <pwd.h>
-#include <sys/types.h>
-#include "secnet.h"
#include "util.h"
#include "conffile.h"
-#include "modules.h"
/* Command-line options (possibly config-file options too) */
static char *configfile="/etc/secnet/secnet.conf";
fatal("configuration does not include a system/log facility\n");
}
log=init_log(l);
- log->log(log->st,LOG_DEBUG,"secnet " VERSION ": logging started");
+ log->log(log->st,LOG_DEBUG,"%s: logging started",version);
/* Who are we supposed to run as? */
userid=dict_read_string(system,"userid",False,"system",loc);