diff options
author | Peter Hessler <phessler@cvs.openbsd.org> | 2015-08-04 14:46:39 +0000 |
---|---|---|
committer | Peter Hessler <phessler@cvs.openbsd.org> | 2015-08-04 14:46:39 +0000 |
commit | e02ea2cd32723092fd7826d27555c7abb6a8e3b3 (patch) | |
tree | f6c278f0a4cf4370c98ae69eb06c4219fe415060 /usr.sbin/bgpd/session.c | |
parent | 7bb2591df0a4bfc097acc06f9b83fec43be19e55 (diff) |
Give more precise errors, to help track when bgpd quits
OK florian@ benno@ sthen@ deraadt@
Diffstat (limited to 'usr.sbin/bgpd/session.c')
-rw-r--r-- | usr.sbin/bgpd/session.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c index 3ec7187c522..61d335677bb 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.339 2015/07/20 16:10:38 claudio Exp $ */ +/* $OpenBSD: session.c,v 1.340 2015/08/04 14:46:38 phessler Exp $ */ /* * Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org> @@ -485,13 +485,13 @@ session_main(int debug, int verbose) pauseaccept = 0; if (handle_pollfd(&pfd[PFD_PIPE_MAIN], ibuf_main) == -1) - fatalx("Lost connection to parent"); + fatalx("SE: Lost connection to parent"); else session_dispatch_imsg(ibuf_main, PFD_PIPE_MAIN, &listener_cnt); if (handle_pollfd(&pfd[PFD_PIPE_ROUTE], ibuf_rde) == -1) { - log_warnx("Lost connection to RDE"); + log_warnx("SE: Lost connection to RDE"); msgbuf_clear(&ibuf_rde->w); free(ibuf_rde); ibuf_rde = NULL; @@ -501,7 +501,7 @@ session_main(int debug, int verbose) if (handle_pollfd(&pfd[PFD_PIPE_ROUTE_CTL], ibuf_rde_ctl) == -1) { - log_warnx("Lost connection to RDE"); + log_warnx("SE: Lost connection to RDE control"); msgbuf_clear(&ibuf_rde_ctl->w); free(ibuf_rde_ctl); ibuf_rde_ctl = NULL; |