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:
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user