netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix source code corruption in ebtables Makefile
@ 2009-02-11 16:31 Tino Keitel
  2009-02-11 16:34 ` Tino Keitel
  2009-02-12 20:22 ` Bart De Schuymer
  0 siblings, 2 replies; 3+ messages in thread
From: Tino Keitel @ 2009-02-11 16:31 UTC (permalink / raw)
  To: bart.de.schuymer, ebtables-devel, netfilter-devel

Hi,

the attached patch fixes source code corruption in the static: target
of the ebtables userspace Makefile. The sed magic tries to clean up the
modified source files, but fails. It ends up with this modifications:

diff -ru ebtables-v2.0.8-2.orig/extensions/ebt_nflog.c
ebtables-v2.0.8-2/extensions/ebt_nflog.c
--- ebtables-v2.0.8-2.orig/extensions/ebt_nflog.c       2009-02-11
16:21:37.000000000 +0100
+++ ebtables-v2.0.8-2/extensions/ebt_nflog.c    2009-02-11
17:22:58.000000000 +0100
@@ -45,7 +45,7 @@
               "in-kernel queue\n");
 }
 
-static void nflog_init(struct ebt_entry_watcher *watcher)
+static _init(struct ebt_entry_watcher *watcher)
 {
        struct ebt_nflog_info *info = (struct ebt_nflog_info
*)watcher->data;
 
@@ -165,7 +165,7 @@
        .name = "nflog",
        .size = sizeof(struct ebt_nflog_info),
        .help = nflog_help,
-       .init = nflog_init,
+       .init _init,
        .parse = nflog_parse,
        .final_check = nflog_final_check,
        .print = nflog_print,

With the patch, the Makefile makes a backup of the original files and
restores it after compilation.

Signed-off-by: Tino Keitel <tino.keitel@innominate.com>

-- 
Tino Keitel
Software Engineer
 
Innominate Security Technologies AG
/protecting industrial networks/
Tel: +49.30.921028-206
Fax: +49.30.921028-020
Rudower Chaussee 13
12489 Berlin / Germany
http://www.innominate.com/

Register Court: AG Charlottenburg, HRB 81603 Management Board: Dirk
Seewald, Chairman of the Supervisory Board: Volker Bibelhausen

INNOMINATE HAS MOVED. PLEASE NOTE THAT OUR BUSINESS CONTACT DATA HAS
CHANGED.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-02-12 20:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-11 16:31 [PATCH] fix source code corruption in ebtables Makefile Tino Keitel
2009-02-11 16:34 ` Tino Keitel
2009-02-12 20:22 ` Bart De Schuymer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).