summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-11-16 15:16:14 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-11-16 16:01:18 +0900
commitfaa201dc6b17db14ee6192a7b6fde49c2ac35a82 (patch)
treed3ee807b3796d9e1258c47235feaf65a0f137838
parentd8c472f2976fbbf3be224a81ed92264c73cf8208 (diff)
downloadsystemd-faa201dc6b17db14ee6192a7b6fde49c2ac35a82.tar.gz
network: address: explicitly mention that the address is localhost
-rw-r--r--src/network/networkd-address.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c
index e0f3bd3b1b..a78ad6d93b 100644
--- a/src/network/networkd-address.c
+++ b/src/network/networkd-address.c
@@ -1918,8 +1918,8 @@ static int address_section_verify(Address *address) {
if (address->scope_set && address->scope != RT_SCOPE_HOST)
log_warning_errno(SYNTHETIC_ERRNO(EINVAL),
- "%s: non-host scope is set in the [Address] section from line %u. "
- "Ignoring Scope= setting.",
+ "%s: non-host scope is set for localhost address. "
+ "Ignoring Scope= setting in the [Address] section from line %u. ",
address->section->filename, address->section->line);
address->scope = RT_SCOPE_HOST;