From b9d8f464fead880828b2e3a9ea79a70767aa0207 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 1 Jun 2020 15:38:51 +0100 Subject: [PATCH] Fix compile without DHCP or DHCP6 --- src/dhcpcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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."); -- 2.47.2