]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
libxt_ACCOUNT_cl: drop padding holes from struct ipt_ACCOUNT_context
authorJan Engelhardt <jengelh@inai.de>
Sat, 17 Jul 2021 09:31:10 +0000 (11:31 +0200)
committerJan Engelhardt <jengelh@inai.de>
Sat, 17 Jul 2021 09:31:10 +0000 (11:31 +0200)
extensions/ACCOUNT/Makefile.am
extensions/ACCOUNT/libxt_ACCOUNT_cl.h

index bb15b098c3f0e8f928626969eaac6a06abc8d26f..e55a6b9bcbefc7f8297377d95c194d161cfcaeb0 100644 (file)
@@ -9,5 +9,6 @@ sbin_PROGRAMS = iptaccount
 iptaccount_LDADD = libxt_ACCOUNT_cl.la
 
 lib_LTLIBRARIES = libxt_ACCOUNT_cl.la
+libxt_ACCOUNT_cl_LDFLAGS = -version-info 1:0:0
 
 man_MANS = iptaccount.8
index 62178f3e620ccbf9b34615fa5395e937398d825f..4145f1f2c52d1992703b56740c8dc16462caf9ec 100644 (file)
@@ -20,9 +20,8 @@ struct ipt_ACCOUNT_context
        int sockfd;
        struct ipt_acc_handle_sockopt handle;
 
-       unsigned int data_size;
+       unsigned int data_size, pos;
        void *data;
-       unsigned int pos;
 
        char *error_str;
 };