On Wed, Mar 16, 2011 at 10:20:50AM +0100, Wilhelm wrote:
> Hi,
> 
> just to answer myself:
> 
> The following  patch solves the problem:
> 
> -2.9.20.patch/nbd-server.c
> --- nbd-2.9.20/nbd-server.c     2011-01-28 13:34:16.000000000 +0100
> +++ nbd-2.9.20.patch/nbd-server.c       2011-03-16 10:17:25.427243049 +0100
> @@ -595,6 +595,8 @@
> 
>         serve->port = s->port;
> 
> +       serve->virtstyle = s->virtstyle;
> +
>         if(s->authname)
>                 serve->authname = strdup(s->authname);

Thanks, applied.

(I changed it slightly, since your patch disregards the fact that the
rest of that function is in the same order as the fields in the struct,
and fixed two more similar errors in that function).

-- 
The biometric identification system at the gates of the CIA headquarters
works because there's a guard with a large gun making sure no one is
trying to fool the system.
  http://www.schneier.com/blog/archives/2009/01/biometrics.html

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to