diff options
author | Christian Hesse <mail@eworm.de> | 2013-11-15 06:40:05 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-11-15 06:40:05 +0100 |
commit | e7d70a5d2fdb0698a7b776ba6d27acb9f60ef1a8 (patch) | |
tree | 581ab4ff550f7417199f012e6b8155061f75ac29 | |
parent | 2afc18b5b49bfc1e3f21f62b458c367bc6e87bfb (diff) | |
download | dyndhcpd-e7d70a5d2fdb0698a7b776ba6d27acb9f60ef1a8.tar.gz dyndhcpd-e7d70a5d2fdb0698a7b776ba6d27acb9f60ef1a8.tar.zst |
need at lease 30 bit netmask, fix error message
-rw-r--r-- | dyndhcpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |