Note: I fixed this in open-isns in github already, but I thought you might 
want to fix
it here in the meantime. It's up to you.

On Friday, August 21, 2015 at 6:01:34 PM UTC-7, The Lee-Man wrote:
>
> The switch statement was falling through after 
> the server name was set, into the "version" code. So 
> setting the server name just printed the version and 
> exited. Added a break statement. 
> --- 
>  utils/open-isns/isnsadm.c | 1 + 
>  1 file changed, 1 insertion(+) 
>
> diff --git a/utils/open-isns/isnsadm.c b/utils/open-isns/isnsadm.c 
> index c170595372da..5b14f82b8ce9 100644 
> --- a/utils/open-isns/isnsadm.c 
> +++ b/utils/open-isns/isnsadm.c 
> @@ -141,6 +141,7 @@ main(int argc, char **argv) 
>   
>                  case 's': 
>                          opt_servername = optarg; 
> +                        break; 
>   
>                  case 'V': 
>                          printf("Open-iSNS version %s\n" 
> -- 
> 1.8.5.2 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to