diff options
author | Christian Hesse <mail@eworm.de> | 2013-11-15 06:41:13 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-11-15 06:41:13 +0100 |
commit | f57d2906da4b8731bdc55816a1cde6eb925fcf78 (patch) | |
tree | 6ef8e386eb530ecd0499f75523b3bef590ffd271 | |
parent | e7d70a5d2fdb0698a7b776ba6d27acb9f60ef1a8 (diff) | |
download | dyndhcpd-f57d2906da4b8731bdc55816a1cde6eb925fcf78.tar.gz dyndhcpd-f57d2906da4b8731bdc55816a1cde6eb925fcf78.tar.zst |
do not fail but goto out
-rw-r--r-- | dyndhcpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -156,7 +156,7 @@ int main(int argc, char ** argv) { 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 30 bit minimum.\n"); - return EXIT_FAILURE; + goto out; } s_minhost.s_addr = htonl(ntohl(s_netaddress.s_addr) + 1); |