diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-10-09 20:11:16 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-11-24 11:35:34 +0100 |
commit | 902e92ceedba96d3241fa8ff701c061cd53a197d (patch) | |
tree | 9c45d7fcb97a3f507c727b31d77e7311cab1d74d /iptables/xtables-eb-standalone.c | |
parent | da871de2a6efb576b6378a66222c0871f4282e96 (diff) |
ebtables-compat: use ebtables_command_state in bootstrap code
And introduce fake ebt_entry.
This gets the code in sync in other existing compat tools. This
will likely allow to consolidate common infrastructure.
This code is still quite experimental.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/xtables-eb-standalone.c')
-rw-r--r-- | iptables/xtables-eb-standalone.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/iptables/xtables-eb-standalone.c b/iptables/xtables-eb-standalone.c index 6ec418cb..1c3cbf07 100644 --- a/iptables/xtables-eb-standalone.c +++ b/iptables/xtables-eb-standalone.c @@ -83,5 +83,8 @@ int xtables_eb_main(int argc, char *argv[]) if (ret) ret = nft_commit(&h); + if (!ret) + fprintf(stderr, "%s\n", nft_strerror(errno)); + exit(!ret); } |