diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2018-05-15 14:00:37 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-12-18 07:52:44 +0100 |
commit | 2f2055de0edbb566322c7de8bd5e1523e2fecedc (patch) | |
tree | c6d7b665fd3f39e743cca6b431acff36bea17ebc /package/network/utils/ebtables/patches/200-fix-extension-init.patch | |
parent | 50789acf4e75606ffe16f1f6e7e3b7ee2e71185d (diff) | |
download | upstream-2f2055de0edbb566322c7de8bd5e1523e2fecedc.tar.gz upstream-2f2055de0edbb566322c7de8bd5e1523e2fecedc.tar.bz2 upstream-2f2055de0edbb566322c7de8bd5e1523e2fecedc.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>
(backported from ac70ac3532fefa78c944d8a26c8df0ca5d88d04e)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/network/utils/ebtables/patches/200-fix-extension-init.patch')
-rw-r--r-- | package/network/utils/ebtables/patches/200-fix-extension-init.patch | 11 |
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); + } |