aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/ebtables/patches
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-05-15 14:00:37 +0200
committerHans Dedecker <hans.dedecker@technicolor.com>2018-05-15 14:31:11 +0200
commitac70ac3532fefa78c944d8a26c8df0ca5d88d04e (patch)
treea9e291077d0c2abfb833d51713138de83f076cb2 /package/network/utils/ebtables/patches
parent14ff1278ee5ba5e2b3640891d8461a76e6b0c643 (diff)
downloadupstream-ac70ac3532fefa78c944d8a26c8df0ca5d88d04e.tar.gz
upstream-ac70ac3532fefa78c944d8a26c8df0ca5d88d04e.tar.bz2
upstream-ac70ac3532fefa78c944d8a26c8df0ca5d88d04e.zip
ebtables: update to latest git 2018-05-15
66a9701 ebtables: Fix build errors and warnings 9fff3d5 include: Fix musl libc compatibility b1cdae8 extensions: Add string filter to ebtables Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'package/network/utils/ebtables/patches')
-rw-r--r--package/network/utils/ebtables/patches/200-fix-extension-init.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/utils/ebtables/patches/200-fix-extension-init.patch b/package/network/utils/ebtables/patches/200-fix-extension-init.patch
index 52ab175ec2..4b202ac57e 100644
--- a/package/network/utils/ebtables/patches/200-fix-extension-init.patch
+++ b/package/network/utils/ebtables/patches/200-fix-extension-init.patch
@@ -247,3 +247,14 @@
{
ebt_register_table(&table);
}
+--- a/extensions/ebt_string.c
++++ b/extensions/ebt_string.c
+@@ -310,7 +310,7 @@ static struct ebt_u_match string_match =
+ .extra_ops = opts,
+ };
+
+-void _init(void)
++__attribute__((constructor)) static void extension_init(void)
+ {
+ ebt_register_match(&string_match);
+ }