From f57d2906da4b8731bdc55816a1cde6eb925fcf78 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 15 Nov 2013 06:41:13 +0100 Subject: do not fail but goto out --- dyndhcpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dyndhcpd.c b/dyndhcpd.c index f65f07a..cadf96b 100644 --- a/dyndhcpd.c +++ b/dyndhcpd.c @@ -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); -- cgit v1.2.3-70-g09d2