Re: Libnet 1.0.2a doesn
Patrice Dumas <[email protected]> Mon, 3 May 2004 22:45:26 +0200
| Newsgroups | gmane.comp.security.libnet |
|---|---|
| Message-ID | <[email protected]> |
> Any Idea? Yes, I believe the code isn't compliant with a norm and gcc 3.? is more picky. I attach the patch which comes with the fedora rpm, it should solve that issue. I think it would be nice if it was added to libnet, but as the version is unmaintained, maybe it makes sense not to add it. Pat
libnet-1.0.2a-gcc33.patch
(text/plain, 625 B)
--- include/libnet.h.orig 2003-11-21 21:04:12.000000000 +0100 +++ include/libnet.h 2003-11-21 21:04:41.000000000 +0100 @@ -84,9 +84,9 @@ #define LIBNET_VERSION "1.0.2a" #if (!LIBNET_LIL_ENDIAN && !LIBNET_BIG_ENDIAN) -#error "byte order has not been specified, you'll -need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the -documentation regarding the libnet-config script." +#error "byte order has not been specified, you'll \n" \ ++"need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the \n" \ ++"documentation regarding the libnet-config script." #endif #endif /* __LIBNET_H */