mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-08 20:58:20 +03:00
network/l2tp: fix error code in log message
(cherry picked from commit 4da53043a618b557f3c0c8ccef81c537c4ad1e18)
This commit is contained in:
parent
14f573175a
commit
b215afc58d
@ -543,7 +543,7 @@ int config_parse_l2tp_tunnel_local_address(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (in_addr_is_null(f, &a)) {
|
if (in_addr_is_null(f, &a)) {
|
||||||
log_syntax(unit, LOG_WARNING, filename, line, r,
|
log_syntax(unit, LOG_WARNING, filename, line, 0,
|
||||||
"L2TP Tunnel local address cannot be null, ignoring assignment: %s", rvalue);
|
"L2TP Tunnel local address cannot be null, ignoring assignment: %s", rvalue);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -599,7 +599,7 @@ int config_parse_l2tp_tunnel_remote_address(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (in_addr_is_null(f, &a)) {
|
if (in_addr_is_null(f, &a)) {
|
||||||
log_syntax(unit, LOG_WARNING, filename, line, r,
|
log_syntax(unit, LOG_WARNING, filename, line, 0,
|
||||||
"L2TP Tunnel remote address cannot be null, ignoring assignment: %s", rvalue);
|
"L2TP Tunnel remote address cannot be null, ignoring assignment: %s", rvalue);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user