diff options
author | Steve Kondik <shade@chemlab.org> | 2013-02-12 22:26:53 -0800 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2013-02-12 22:26:53 -0800 |
commit | 0f9384d79ba6ef5f406982b7736a3a76bb54a9fb (patch) | |
tree | a6f6abcbc8e3388688b20057dff5992e1a12b58b | |
parent | e07e0d31f48d951e0f03ba254d4754810732c241 (diff) | |
parent | 42ea6673b74e0ee9ad17f5462dc171fbe1491137 (diff) | |
download | android_external_iptables-mr1.1-staging.tar.gz android_external_iptables-mr1.1-staging.tar.bz2 android_external_iptables-mr1.1-staging.zip |
Merge tag 'android-4.2.2_r1' of https://android.googlesource.com/platform/external/iptables into 1.1cm-10.1.3-RC2cm-10.1.3-RC1cm-10.1.3cm-10.1.2cm-10.1.1cm-10.1.0-RC5cm-10.1.0-RC4cm-10.1.0-RC3cm-10.1.0-RC2cm-10.1.0-RC1cm-10.1.0cm-10.1-M3cm-10.1-M2mr1.1-stagingcm-10.1
Android 4.2.2 release 1
-rw-r--r-- | iptables/iptables-standalone.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/iptables/iptables-standalone.c b/iptables/iptables-standalone.c index 87f1d31..6cf8483 100644 --- a/iptables/iptables-standalone.c +++ b/iptables/iptables-standalone.c @@ -34,6 +34,7 @@ #include <stdio.h> #include <stdlib.h> #include <errno.h> +#include <signal.h> #include <string.h> #include <iptables.h> #include "iptables-multi.h" @@ -50,6 +51,8 @@ main(int argc, char *argv[]) char *table = "filter"; struct iptc_handle *handle = NULL; + signal(SIGPIPE, SIG_IGN); + iptables_globals.program_name = "iptables"; ret = xtables_init_all(&iptables_globals, NFPROTO_IPV4); if (ret < 0) { |