diff options
author | Can Erkin Acar <canacar@cvs.openbsd.org> | 2006-01-15 16:38:05 +0000 |
---|---|---|
committer | Can Erkin Acar <canacar@cvs.openbsd.org> | 2006-01-15 16:38:05 +0000 |
commit | 7cec9f39f22bd13e04ef969efc69c3998fdd04e4 (patch) | |
tree | 5b548694cef2bbfd4a89d89e9608fe6135b8fe98 /sbin/pflogd/pflogd.h | |
parent | 4558cd82301ede1b83ad3e03594c6357e02ddea2 (diff) |
If the log file is invalid/incompatible, try to rename the bad log file
and continue with a new name instead of suspending.
ok mcbride@
Diffstat (limited to 'sbin/pflogd/pflogd.h')
-rw-r--r-- | sbin/pflogd/pflogd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/pflogd/pflogd.h b/sbin/pflogd/pflogd.h index 3baecb66fe6..596e6969261 100644 --- a/sbin/pflogd/pflogd.h +++ b/sbin/pflogd/pflogd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pflogd.h,v 1.2 2004/01/15 20:15:14 canacar Exp $ */ +/* $OpenBSD: pflogd.h,v 1.3 2006/01/15 16:38:04 canacar Exp $ */ /* * Copyright (c) 2003 Can Erkin Acar @@ -37,6 +37,7 @@ void logmsg(int priority, const char *message, ...); int priv_init(void); int priv_set_snaplen(int snaplen); int priv_open_log(void); +int priv_move_log(void); pcap_t *pcap_open_live_fd(int fd, int snaplen, char *ebuf); void set_pcap_filter(void); |