From f8dd40779a9aa83dc489863415739dfaedd1b004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 11 Dec 2020 11:39:16 +0100 Subject: [PATCH] network: adjust comments Co-authored-by: Carlo Teubner <435950+c4rlo@users.noreply.github.com> --- src/network/networkd-link.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index cb2fac0278..b7047c06d1 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -2223,10 +2223,10 @@ int link_reconfigure(Link *link, bool force) { int r; /* When link in pending or initialized state, then link_configure() will be called. To prevent - * the function be called multiple times simultaneously, refuse to reconfigure the interface in - * these case. */ + * the function from being called multiple times simultaneously, refuse to reconfigure the + * interface in these cases. */ if (IN_SET(link->state, LINK_STATE_PENDING, LINK_STATE_INITIALIZED, LINK_STATE_LINGER)) - return 0; /* o means no-op. */ + return 0; /* 0 means no-op. */ r = sd_rtnl_message_new_link(link->manager->rtnl, &req, RTM_GETLINK, link->ifindex);