The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e11dec7e54e239c490343a275573348b0c826aa0
commit e11dec7e54e239c490343a275573348b0c826aa0 Author: John Baldwin <[email protected]> AuthorDate: 2025-04-11 14:02:29 +0000 Commit: John Baldwin <[email protected]> CommitDate: 2026-01-27 18:15:58 +0000 ctld: Remove dead logging code Portal discovery auth groups are always named auth groups Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D49649 (cherry picked from commit ce8cfd998b4fc01cfd47e009b0f6dead404841b4) --- usr.sbin/ctld/login.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/usr.sbin/ctld/login.cc b/usr.sbin/ctld/login.cc index 84d329964ada..961f57eb03fb 100644 --- a/usr.sbin/ctld/login.cc +++ b/usr.sbin/ctld/login.cc @@ -1003,12 +1003,8 @@ login(struct ctld_connection *conn) } else { assert(conn->conn_session_type == CONN_SESSION_TYPE_DISCOVERY); ag = pg->pg_discovery_auth_group; - if (ag->ag_name != NULL) { - log_debugx("initiator requests " - "discovery session; auth-group \"%s\"", ag->ag_name); - } else { - log_debugx("initiator requests discovery session"); - } + log_debugx("initiator requests discovery session; %s", + ag->ag_label); } if (ag->ag_type == AG_TYPE_DENY) {
