diff options
Diffstat (limited to 'sbin/isakmpd/log.c')
-rw-r--r-- | sbin/isakmpd/log.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sbin/isakmpd/log.c b/sbin/isakmpd/log.c index 8e17b1592e6..b1eae0224aa 100644 --- a/sbin/isakmpd/log.c +++ b/sbin/isakmpd/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.56 2005/04/08 19:40:03 deraadt Exp $ */ +/* $OpenBSD: log.c,v 1.57 2005/05/03 13:42:54 hshoexer Exp $ */ /* $EOM: log.c,v 1.30 2000/09/29 08:19:23 niklas Exp $ */ /* @@ -365,6 +365,17 @@ log_fatal(const char *fmt, ...) } void +log_fatalx(const char *fmt, ...) +{ + va_list ap; + + va_start(ap, fmt); + _log_print(0, LOG_CRIT, fmt, ap, LOG_PRINT, 0); + va_end(ap); + monitor_exit(1); +} + +void log_packet_init(char *newname) { struct pcap_file_header sf_hdr; |