Re: [PATCH] iscsi_tcp: Support INADDR_ANY in the iscsi portal= string.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 06 May 2010 11:39:03 +0300
Boaz Harrosh <bharrosh@xxxxxxxxxxx> 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@xxxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux