From: Yu Watanabe Date: Wed, 11 Jan 2023 04:11:00 +0000 (+0900) Subject: network/l2tp: fix error code in log message X-Git-Tag: v253-rc1~133^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4da53043a618b557f3c0c8ccef81c537c4ad1e18;p=thirdparty%2Fsystemd.git network/l2tp: fix error code in log message --- diff --git a/src/network/netdev/l2tp-tunnel.c b/src/network/netdev/l2tp-tunnel.c index 7d51a619bd5..335618f1a45 100644 --- a/src/network/netdev/l2tp-tunnel.c +++ b/src/network/netdev/l2tp-tunnel.c @@ -542,7 +542,7 @@ int config_parse_l2tp_tunnel_local_address( } 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); return 0; } @@ -598,7 +598,7 @@ int config_parse_l2tp_tunnel_remote_address( } 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); return 0; }