[PATCH] fix source code corruption in ebtables Makefile
Tino Keitel <[email protected]> Wed, 11 Feb 2009 17:31:42 +0100
| Newsgroups | gmane.comp.security.firewalls.netfilter.devel,gmane.linux.network.bridge.ebtables.devel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>
--
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.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html