summaryrefslogtreecommitdiff
path: root/src/ipaddrcheck_functions.h
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2013-06-02 10:12:12 -0700
committerDaniil Baturin <daniil@baturin.org>2013-06-02 10:12:12 -0700
commit6698b613928f89f35a0b8b4c9f48e954f03db8de (patch)
treed28b004ee92df50a2ab9bbc8c04bbebb623436a4 /src/ipaddrcheck_functions.h
parent2cbe465938894f91a8c7a4d91acea3d60a6bb188 (diff)
downloadipaddrcheck-6698b613928f89f35a0b8b4c9f48e954f03db8de.tar.gz
ipaddrcheck-6698b613928f89f35a0b8b4c9f48e954f03db8de.zip
Exit with different exit code in case of errors unrelated
to check result (2, specifically). Remove some debug output.
Diffstat (limited to 'src/ipaddrcheck_functions.h')
-rw-r--r--src/ipaddrcheck_functions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipaddrcheck_functions.h b/src/ipaddrcheck_functions.h
index 67cc410..bf39338 100644
--- a/src/ipaddrcheck_functions.h
+++ b/src/ipaddrcheck_functions.h
@@ -33,6 +33,7 @@
#define RESULT_SUCCESS 1
#define RESULT_FAILURE 0
+#define RESULT_INT_ERROR 2
#define IPV4_MULTICAST "224.0.0.0/4"
#define IPV4_LOOPBACK "127.0.0.0/8"