[syslog-ng]Reply-To: syslog-ng@lists.balabit.hu

G. C. syslog-ng@lists.balabit.hu
Mon, 09 Aug 2004 14:54:58 +0000


I modified the file afinet.c inserting the line as suggested and gave the 
following commands:
./configure --enable-spoof-source --> ok
make --> ERROR

The error is the following:

make_class <afinet.c >afinet.c.xT
/bin/sh: /usr/local/bin/make_class: \: bad interpreter: No such file or 
directory
make[3]: *** [afinet.c.x] Error 126
make[3]: Leaving directory `/usr/src/syslog-ng-1.6.4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/syslog-ng-1.6.4/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/src/syslog-ng-1.6.4/src'
make: *** [all-recursive] Error 1

Sorry but not being a developer I might have mistaken something...

P.

_____________________________________________________
>
>Hmm.. I possible forgot to free something in that path. I'll check it out 
>for you.

Can you check if this one works for you?

Index: src/afinet.c
===================================================================
RCS file: /var/cvs/syslog-ng/syslog-ng/src/afinet.c,v
retrieving revision 1.25.4.6
diff -u -r1.25.4.6 afinet.c
--- src/afinet.c        5 Aug 2004 11:35:12 -0000       1.25.4.6
+++ src/afinet.c        6 Aug 2004 18:15:32 -0000
@@ -653,6 +653,7 @@
                        if (libnet_write(self->lnet_ctx) < 0) {
                                werror("Error sending raw frame, error: %z",
libnet_geterror(self->lnet_ctx));
                        }
+                       ol_string_free(msg_line);
                }
                else {
                fallback_socket:

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963