summaryrefslogtreecommitdiff
path: root/src/network/networkd-link.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-02-15 10:08:16 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-02-15 10:08:16 +0900
commit0b75493da03fed3bf077791ce1289910eb6f6641 (patch)
tree521dfe26128adbbe60fb047a8dac5e78580628db /src/network/networkd-link.c
parent0da4cc97b446b43802692f2415e5a774771b0ca9 (diff)
downloadsystemd-0b75493da03fed3bf077791ce1289910eb6f6641.tar.gz
tree-wide: fix typo and comment style update
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r--src/network/networkd-link.c4
1 files changed, 2 insertions, 2 deletions
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. */