[stgt] [PATCH] iscsi_tcp: Support INADDR_ANY in the iscsi portal= string.
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Fri May 7 03:14:32 CEST 2010
On Thu, 06 May 2010 11:39:03 +0300
Boaz Harrosh <bharrosh at panasas.com> wrote:
>
> Let a missing ip-address part designate an INADDR_ANY when
> specifying the --iscsi portal=XXX command option to the iscsi_tcp protocol
> driver. (.i.e pass NULL as the first parameter to getaddrinfo());
>
> This makes it easy to change just the port service number but
> keep tgtd bind on all interfaces. It is useful when the ISCSI
> default port is used by another demon and we want tgtd to export
> an alternative iscsi-target.
>
> example usage:
> tgtd --iscsi portal=:3251
> ^ ip-address is missing
>
> Above will bind to all interfaces at port 3251.
>
> Signed-off-by: Boaz Harrosh <bharrosh at panasas.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list