The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=0a3e74f55aedc20dce7fc3a456d8307155627460

commit 0a3e74f55aedc20dce7fc3a456d8307155627460
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2025-02-05 19:53:55 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2025-02-05 19:55:16 +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
---
 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 3b48d33b5966..d0ba0522f8e2 100644
--- a/usr.sbin/ctld/ctld.c
+++ b/usr.sbin/ctld/ctld.c
@@ -2592,8 +2592,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;

Reply via email to