diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2018-11-02 15:56:48 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2018-11-02 15:56:48 +0000 |
commit | 78e73cd3612bae546e47d889d546903626ed0426 (patch) | |
tree | 330ee49072523b5030e7e21e3a33135047b67989 | |
parent | 771cde1fdc6f2b34544dd515227ceef5b63fc10f (diff) |
in-smtp -> smtp-in in reporting protocol
-rw-r--r-- | usr.sbin/smtpd/lka_report.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/smtpd/lka_report.c b/usr.sbin/smtpd/lka_report.c index 1ce5ab57084..18f855806c0 100644 --- a/usr.sbin/smtpd/lka_report.c +++ b/usr.sbin/smtpd/lka_report.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lka_report.c,v 1.1 2018/11/01 14:48:49 gilles Exp $ */ +/* $OpenBSD: lka_report.c,v 1.2 2018/11/02 15:56:47 gilles Exp $ */ /* * Copyright (c) 2018 Gilles Chehade <gilles@poolp.org> @@ -53,7 +53,7 @@ report_smtp_broadcast(const char *format, ...) void lka_report_smtp_link_connect(time_t tm, uint64_t reqid, const char *src_addr, const char *dest_addr) { - report_smtp_broadcast("report|in-smtp-link-connect|" + report_smtp_broadcast("report|smtp-in|link-connect|" "%zd|%016"PRIx64"|%s|%s\n", tm, reqid, src_addr, dest_addr); } @@ -61,7 +61,7 @@ lka_report_smtp_link_connect(time_t tm, uint64_t reqid, const char *src_addr, co void lka_report_smtp_link_disconnect(time_t tm, uint64_t reqid) { - report_smtp_broadcast("report|in-smtp-link-disconnect|" + report_smtp_broadcast("report|smtp-in|link-disconnect|" "%zd|%016"PRIx64"\n", tm, reqid); } @@ -69,7 +69,7 @@ lka_report_smtp_link_disconnect(time_t tm, uint64_t reqid) void lka_report_smtp_link_tls(time_t tm, uint64_t reqid, const char *ciphers) { - report_smtp_broadcast("report|in-smtp-link-tls|" + report_smtp_broadcast("report|smtp-in|link-tls|" "%zd|%016"PRIx64"|%s\n", tm, reqid, ciphers); } @@ -77,7 +77,7 @@ lka_report_smtp_link_tls(time_t tm, uint64_t reqid, const char *ciphers) void lka_report_smtp_tx_begin(time_t tm, uint64_t reqid) { - report_smtp_broadcast("report|in-smtp-tx-begin|" + report_smtp_broadcast("report|smtp-in|tx-begin|" "%zd|%016"PRIx64"\n", tm, reqid); } @@ -85,7 +85,7 @@ lka_report_smtp_tx_begin(time_t tm, uint64_t reqid) void lka_report_smtp_tx_commit(time_t tm, uint64_t reqid) { - report_smtp_broadcast("report|in-smtp-tx-commit|" + report_smtp_broadcast("report|smtp-in|tx-commit|" "%zd|%016"PRIx64"\n", tm, reqid); } @@ -93,7 +93,7 @@ lka_report_smtp_tx_commit(time_t tm, uint64_t reqid) void lka_report_smtp_tx_rollback(time_t tm, uint64_t reqid) { - report_smtp_broadcast("report|in-smtp-tx-rollback|" + report_smtp_broadcast("report|smtp-in|tx-rollback|" "%zd|%016"PRIx64"\n", tm, reqid); } @@ -101,7 +101,7 @@ lka_report_smtp_tx_rollback(time_t tm, uint64_t reqid) void lka_report_smtp_protocol_client(time_t tm, uint64_t reqid, const char *command) { - report_smtp_broadcast("report|in-smtp-protocol-client|" + report_smtp_broadcast("report|smtp-in|protocol-client|" "%zd|%016"PRIx64"|%s\n", tm, reqid, command); } @@ -109,7 +109,7 @@ lka_report_smtp_protocol_client(time_t tm, uint64_t reqid, const char *command) void lka_report_smtp_protocol_server(time_t tm, uint64_t reqid, const char *response) { - report_smtp_broadcast("report|in-smtp-protocol-server|" + report_smtp_broadcast("report|smtp-in|protocol-server|" "%zd|%016"PRIx64"|%s\n", tm, reqid, response); } |