diff options
author | ume <ume@FreeBSD.org> | 2003-08-15 16:50:34 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-08-15 16:50:34 +0000 |
commit | eaf6d1de541d67b9858c89a86493884ff35394c1 (patch) | |
tree | 5c3977bb5f95222d12a2ba2894511334ddc59597 /usr.sbin/rtadvd | |
parent | 3ccfe6b6228a6ccdd6dc9dee56370a6bc9c8957b (diff) | |
download | FreeBSD-src-eaf6d1de541d67b9858c89a86493884ff35394c1.zip FreeBSD-src-eaf6d1de541d67b9858c89a86493884ff35394c1.tar.gz |
logged the fact to dump the status.
Obtained from: KAME
MFC after: 1 week
Diffstat (limited to 'usr.sbin/rtadvd')
-rw-r--r-- | usr.sbin/rtadvd/dump.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/rtadvd/dump.c b/usr.sbin/rtadvd/dump.c index 65e7ca2..82f1c30 100644 --- a/usr.sbin/rtadvd/dump.c +++ b/usr.sbin/rtadvd/dump.c @@ -215,6 +215,9 @@ void rtadvd_dump_file(dumpfile) char *dumpfile; { + syslog(LOG_DEBUG, "<%s> dump current status to %s", __func__, + dumpfile); + if ((fp = fopen(dumpfile, "w")) == NULL) { syslog(LOG_WARNING, "<%s> open a dump file(%s)", __func__, dumpfile); |