summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/physical.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-05-24 09:05:45 +0000
committerbrian <brian@FreeBSD.org>2000-05-24 09:05:45 +0000
commit300b5cdddb96aa12e565ee01b533bcf9fb38a1b8 (patch)
tree70cc0e80cf5ea50282b85cf06405ad60ead9eaad /usr.sbin/ppp/physical.c
parent0c25aa3a566222c31d4cac2fe4a60a52daab9731 (diff)
downloadFreeBSD-src-300b5cdddb96aa12e565ee01b533bcf9fb38a1b8.zip
FreeBSD-src-300b5cdddb96aa12e565ee01b533bcf9fb38a1b8.tar.gz
Mention it in the log file when we HUP a process that
controls a link.
Diffstat (limited to 'usr.sbin/ppp/physical.c')
-rw-r--r--usr.sbin/ppp/physical.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ppp/physical.c b/usr.sbin/ppp/physical.c
index 611796e..7e7f64b 100644
--- a/usr.sbin/ppp/physical.c
+++ b/usr.sbin/ppp/physical.c
@@ -340,6 +340,8 @@ physical_Close(struct physical *p)
throughput_log(&p->link.throughput, LogPHASE, p->link.name);
if (p->session_owner != (pid_t)-1) {
+ log_Printf(LogPHASE, "%s: HUPing %d\n", p->link.name,
+ (int)p->session_owner);
ID0kill(p->session_owner, SIGHUP);
p->session_owner = (pid_t)-1;
}
OpenPOWER on IntegriCloud