summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-11-15 06:40:05 +0100
committerGravatar Christian Hesse <mail@eworm.de>2013-11-15 06:40:05 +0100
commite7d70a5d2fdb0698a7b776ba6d27acb9f60ef1a8 (patch)
tree581ab4ff550f7417199f012e6b8155061f75ac29
parent2afc18b5b49bfc1e3f21f62b458c367bc6e87bfb (diff)
downloaddyndhcpd-e7d70a5d2fdb0698a7b776ba6d27acb9f60ef1a8.tar.gz
dyndhcpd-e7d70a5d2fdb0698a7b776ba6d27acb9f60ef1a8.tar.zst
need at lease 30 bit netmask, fix error message
-rw-r--r--dyndhcpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dyndhcpd.c b/dyndhcpd.c
index 883349d..f65f07a 100644
--- a/dyndhcpd.c
+++ b/dyndhcpd.c
@@ -155,7 +155,7 @@ int main(int argc, char ** argv) {
s_netaddress.s_addr = v_host->s_addr & v_mask->s_addr;
if (ntohl(s_broadcast.s_addr) - ntohl(s_netaddress.s_addr) < 2) {
- fprintf(stderr, "We do not have addresses to serve, need a netmask with 28 bit minimum.\n");
+ fprintf(stderr, "We do not have addresses to serve, need a netmask with 30 bit minimum.\n");
return EXIT_FAILURE;
}