From: Roy Marples Date: Fri, 27 Mar 2020 16:04:10 +0000 (+0000) Subject: options: move warning X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27524b7b9e8bc8c0526d3cce60b50a5bfedb4556;p=thirdparty%2Fdhcpcd.git options: move warning --- diff --git a/src/if-options.c b/src/if-options.c index 46df50ca..7850ff2e 100644 --- a/src/if-options.c +++ b/src/if-options.c @@ -2102,15 +2102,14 @@ err_sla: } parse_string((char *)token->key, token->key_len, arg); TAILQ_INSERT_TAIL(&ifo->auth.tokens, token, next); -#else - logerrx("no authentication support"); - return -1; -#endif break; invalid_token: free(token->realm); free(token); +#else + logerrx("no authentication support"); +#endif return -1; case O_AUTHNOTREQUIRED: ifo->auth.options &= ~DHCPCD_AUTH_REQUIRE;