git: 90d5638f97b3 - stable/14 - ctld: Don't specify the TCP port for default iSCSI portal group sockets
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Jan 2026 18:44:02 UTC
The branch stable/14 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=90d5638f97b3d073f90e49e23c919a2317d37bd9
commit 90d5638f97b3d073f90e49e23c919a2317d37bd9
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-02-05 19:53:55 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-01-27 18:15:56 +0000
ctld: Don't specify the TCP port for default iSCSI portal group sockets
portal_group_add_listen already uses the default TCP port if no port
is specified so this was redundant.
Reviewed by: asomers
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D48770
(cherry picked from commit 0a3e74f55aedc20dce7fc3a456d8307155627460)
---
usr.sbin/ctld/ctld.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr.sbin/ctld/ctld.c b/usr.sbin/ctld/ctld.c
index 6729331569c5..00b20b4f50f6 100644
--- a/usr.sbin/ctld/ctld.c
+++ b/usr.sbin/ctld/ctld.c
@@ -2593,8 +2593,8 @@ conf_new_from_file(const char *path, bool ucl)
"going with defaults");
pg = portal_group_find(conf, "default");
assert(pg != NULL);
- portal_group_add_listen(pg, "0.0.0.0:3260", false);
- portal_group_add_listen(pg, "[::]:3260", false);
+ portal_group_add_listen(pg, "0.0.0.0", false);
+ portal_group_add_listen(pg, "[::]", false);
}
conf->conf_kernel_port_on = true;