1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-11 20:58:27 +03:00

network-generator: add missing return on error after the logging refactor

Fixes 3cb618084a1bd5c7cb42822b4ce3dbd048e6bd24
This commit is contained in:
Antonio Alvarez Feijoo 2024-04-30 14:35:01 +02:00 committed by Luca Boccassi
parent da77ea5c63
commit 1434754430

View File

@ -639,7 +639,7 @@ static int parse_ip_address_one(int family, const char **value, union in_addr_un
} else {
q = strchr(p, ':');
if (!q)
log_debug_errno(SYNTHETIC_ERRNO(EINVAL), "Invalid IPv4 address '%s'", p);
return log_debug_errno(SYNTHETIC_ERRNO(EINVAL), "Invalid IPv4 address '%s'", p);
buf = strndupa_safe(p, q - p);
p = q + 1;