summaryrefslogtreecommitdiff
path: root/src/ipaddrcheck_functions.h
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2013-06-02 11:44:00 -0700
committerDaniil Baturin <daniil@baturin.org>2013-06-02 11:44:00 -0700
commitbb6f0c4e01655e7f9732cf04641c92c1b53304a3 (patch)
treeb5ee1f326ae86fc55cdfa6281463f7b8ce886ef7 /src/ipaddrcheck_functions.h
parente7f0f079d3086e53ca13e372b9123968a90ef39e (diff)
downloadipaddrcheck-bb6f0c4e01655e7f9732cf04641c92c1b53304a3.tar.gz
ipaddrcheck-bb6f0c4e01655e7f9732cf04641c92c1b53304a3.zip
Don't allow IPv4 limited broadcast address as valid interface address.
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 bf39338..78378f7 100644
--- a/src/ipaddrcheck_functions.h
+++ b/src/ipaddrcheck_functions.h
@@ -43,6 +43,7 @@
#define IPV4_RFC1918_A "10.0.0.0/8"
#define IPV4_RFC1918_B "172.16.0.0/12"
#define IPV4_RFC1918_C "192.168.0.0/16"
+#define IPV4_LIMITED_BROADCAST "255.255.255.255/32"
#define IPV6_MULTICAST "ff00::/8"
#define IPV6_LINKLOCAL "fe80::/64"
#define IPV6_LOOPBACK "::1/128"