[Chilli] [PATCH] Fix: Compilation fails when HAVE_NETFILTER_QUEUE is not defined

David Bird david at coova.com
Fri Feb 26 07:35:40 UTC 2010


Thanks. committed as revision 293.


On Fri, 2010-02-26 at 16:28 +0900, Masashi Honma wrote:
> (2010/02/26 16:21), Masashi Honma wrote:
> > Hello.
> >
> > The latest svn tree can't be compiled when HAVE_NETFILTER_QUEUE is
> > not defined. This patch solves this issue.
> >
> >
> > Index: net.c
> > ===================================================================
> > --- net.c	(revision 292)
> > +++ net.c	(working copy)
> > @@ -669,7 +669,7 @@
> >
> >     return 0;
> >   #else
> > -  log_error(0, "Not implemeneted; build with --with-nfqueue");
> > +  log_err(0, "Not implemeneted; build with --with-nfqueue");
> >   #endif
> >   }
> 
> Oops. I missed to insert return. Discard previous patch.
> 
> Index: net.c
> ===================================================================
> --- net.c	(revision 292)
> +++ net.c	(working copy)
> @@ -669,7 +669,8 @@
>   
>     return 0;
>   #else
> -  log_error(0, "Not implemeneted; build with --with-nfqueue");
> +  log_err(0, "Not implemeneted; build with --with-nfqueue");
> +  return -1;
>   #endif
>   }
> 
> Regards,
> Masashi Honma.
> _______________________________________________
> Chilli mailing list
> Chilli at coova.org
> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli




More information about the Chilli mailing list