network-generator: add missing return on error after the logging refactor
Fixes 3cb618084a
This commit is contained in:
committed by
Luca Boccassi
parent
da77ea5c63
commit
1434754430
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user