1 From 2a6d5cd2cbb58c1cab271a65a76decfdbc11dcd7 Mon Sep 17 00:00:00 2001
2 From: Nick Hainke <vincent@systemli.org>
3 Date: Wed, 8 Jun 2022 09:30:44 +0200
4 Subject: [PATCH] fix compilation with iptables 1.8.8
6 The extension handling changed [0,1]. Fix compilation with iptables
9 [0] - https://git.netfilter.org/iptables/commit/?id=ef108943f69a6e20533d58823740d3f0534ea8ec
10 [1] - https://git.netfilter.org/iptables/commit/?id=6c689b639cf8e2aeced8685eca2915892d76ad86
11 [2] - openwrt/openwrt#9886
13 Signed-off-by: Nick Hainke <vincent@systemli.org>
15 iptables-extension/libxt_RTPENGINE.c | 4 ++++
16 1 file changed, 4 insertions(+)
18 --- a/iptables-extension/libxt_RTPENGINE.c
19 +++ b/iptables-extension/libxt_RTPENGINE.c
21 #include <netinet/in.h>
22 #include <arpa/inet.h>
25 +#define _init __attribute__((constructor)) _INIT