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

Re: [Nbd] Virtstyle = ipliteral in version 2.9.16 of Ubuntu Natty not working [SOLVED] [PATCH]



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



Reply to: