From: Yu Watanabe Date: Fri, 15 Dec 2023 00:21:19 +0000 (+0900) Subject: network/neighbor: fix log message and comment X-Git-Tag: v256-rc1~1441 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47ac844ee695e3300b145d856b6eb0f608ec7d11;p=thirdparty%2Fsystemd.git network/neighbor: fix log message and comment --- diff --git a/src/network/networkd-neighbor.c b/src/network/networkd-neighbor.c index eb208c183cd..b9c7875bc4d 100644 --- a/src/network/networkd-neighbor.c +++ b/src/network/networkd-neighbor.c @@ -648,12 +648,12 @@ int network_drop_invalid_neighbors(Network *network) { dup = set_remove(neighbors, neighbor); if (dup) { log_warning("%s: Duplicated neighbor settings for %s is specified at line %u and %u, " - "dropping the address setting specified at line %u.", + "dropping the neighbor setting specified at line %u.", dup->section->filename, IN_ADDR_TO_STRING(neighbor->family, &neighbor->in_addr), neighbor->section->line, dup->section->line, dup->section->line); - /* neighbor_free() will drop the address from neighbors_by_section. */ + /* neighbor_free() will drop the neighbor from neighbors_by_section. */ neighbor_free(dup); }