summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/bgpd/bgpd.c6
-rw-r--r--usr.sbin/bgpd/rde.c6
-rw-r--r--usr.sbin/bgpd/session.c8
3 files changed, 10 insertions, 10 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c
index 5412d237f9a..ea5e83fae89 100644
--- a/usr.sbin/bgpd/bgpd.c
+++ b/usr.sbin/bgpd/bgpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.c,v 1.178 2015/07/20 16:10:37 claudio Exp $ */
+/* $OpenBSD: bgpd.c,v 1.179 2015/08/04 14:46:38 phessler Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -258,7 +258,7 @@ main(int argc, char *argv[])
}
if (handle_pollfd(&pfd[PFD_PIPE_SESSION], ibuf_se) == -1) {
- log_warnx("Lost connection to SE");
+ log_warnx("main: Lost connection to SE");
msgbuf_clear(&ibuf_se->w);
free(ibuf_se);
ibuf_se = NULL;
@@ -270,7 +270,7 @@ main(int argc, char *argv[])
}
if (handle_pollfd(&pfd[PFD_PIPE_ROUTE], ibuf_rde) == -1) {
- log_warnx("Lost connection to RDE");
+ log_warnx("main: Lost connection to RDE");
msgbuf_clear(&ibuf_rde->w);
free(ibuf_rde);
ibuf_rde = NULL;
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index 1206bcbf35e..09ccca1d1f5 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.335 2015/07/20 16:10:38 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.336 2015/08/04 14:46:38 phessler Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -270,7 +270,7 @@ rde_main(int debug, int verbose)
rde_dispatch_imsg_parent(ibuf_main);
if (handle_pollfd(&pfd[PFD_PIPE_SESSION], ibuf_se) == -1) {
- log_warnx("Lost connection to SE");
+ log_warnx("RDE: Lost connection to SE");
msgbuf_clear(&ibuf_se->w);
free(ibuf_se);
ibuf_se = NULL;
@@ -279,7 +279,7 @@ rde_main(int debug, int verbose)
if (handle_pollfd(&pfd[PFD_PIPE_SESSION_CTL], ibuf_se_ctl) ==
-1) {
- log_warnx("Lost connection to SE");
+ log_warnx("RDE: Lost connection to SE control");
msgbuf_clear(&ibuf_se_ctl->w);
free(ibuf_se_ctl);
ibuf_se_ctl = NULL;
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;