From 0b75493da03fed3bf077791ce1289910eb6f6641 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 15 Feb 2023 10:08:16 +0900 Subject: tree-wide: fix typo and comment style update --- src/network/networkd-link.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network') diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index e43c04567a..019bef0590 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -2711,7 +2711,7 @@ int link_flags_to_string_alloc(uint32_t flags, char **ret) { _cleanup_free_ char *str = NULL; static const char* map[] = { [LOG2U(IFF_UP)] = "up", /* interface is up. */ - [LOG2U(IFF_BROADCAST)] = "broadcast", /* broadcast address valid.*/ + [LOG2U(IFF_BROADCAST)] = "broadcast", /* broadcast address valid. */ [LOG2U(IFF_DEBUG)] = "debug", /* turn on debugging. */ [LOG2U(IFF_LOOPBACK)] = "loopback", /* interface is a loopback net. */ [LOG2U(IFF_POINTOPOINT)] = "point-to-point", /* interface has p-p link. */ @@ -2722,7 +2722,7 @@ int link_flags_to_string_alloc(uint32_t flags, char **ret) { [LOG2U(IFF_ALLMULTI)] = "all-multicast", /* receive all multicast packets. */ [LOG2U(IFF_MASTER)] = "master", /* master of a load balancer. */ [LOG2U(IFF_SLAVE)] = "slave", /* slave of a load balancer. */ - [LOG2U(IFF_MULTICAST)] = "multicast", /* supports multicast.*/ + [LOG2U(IFF_MULTICAST)] = "multicast", /* supports multicast. */ [LOG2U(IFF_PORTSEL)] = "portsel", /* can set media type. */ [LOG2U(IFF_AUTOMEDIA)] = "auto-media", /* auto media select active. */ [LOG2U(IFF_DYNAMIC)] = "dynamic", /* dialup device with changing addresses. */ -- cgit v1.2.1