From: Roy Marples Date: Mon, 1 Jun 2020 14:38:51 +0000 (+0100) Subject: Fix compile without DHCP or DHCP6 X-Git-Tag: v9.1.1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9d8f464fead880828b2e3a9ea79a70767aa0207;p=thirdparty%2Fdhcpcd.git Fix compile without DHCP or DHCP6 --- diff --git a/src/dhcpcd.c b/src/dhcpcd.c index a5fd7412..c9bd98cc 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -2102,7 +2102,7 @@ printpidfile: break; #else logerrx("No DHCP support"); - goto exit_failure + goto exit_failure; #endif case AF_INET6: #ifdef DHCP6 @@ -2111,7 +2111,7 @@ printpidfile: break; #else logerrx("No DHCP6 support"); - goto exit_failure + goto exit_failure; #endif default: logerrx("Family not specified. Please use -4 or -6.");