diff options
author | Job Snijders <job@cvs.openbsd.org> | 2023-02-02 20:31:38 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2023-02-02 20:31:38 +0000 |
commit | 7bf072e42e2564b1eb15bc10282a9180e2f908b2 (patch) | |
tree | 259526a12429e2137803395a7a066c58ed6ee18d /usr.sbin/bgpd | |
parent | ff82b7a54212074f56be681cd7cc9c43d1b69e96 (diff) |
Emit log messages in consistent format
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r-- | usr.sbin/bgpd/rtr_proto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rtr_proto.c b/usr.sbin/bgpd/rtr_proto.c index c6bfa105064..d7ff4da09b8 100644 --- a/usr.sbin/bgpd/rtr_proto.c +++ b/usr.sbin/bgpd/rtr_proto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtr_proto.c,v 1.11 2023/02/01 15:37:34 job Exp $ */ +/* $OpenBSD: rtr_proto.c,v 1.12 2023/02/02 20:31:37 job Exp $ */ /* * Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org> @@ -251,7 +251,7 @@ rtr_send_error(struct rtr_session *rs, enum rtr_error err, char *msg, ibuf_add(buf, msg, mlen); ibuf_close(&rs->w, buf); - log_warnx("%s: sending error report[%u] %s", log_rtr(rs), err, + log_warnx("rtr %s: sending error report[%u] %s", log_rtr(rs), err, msg ? msg : ""); } |