From: Michal Privoznik <mpriv...@redhat.com>

We still use C89 style of comments. Fix C99 style of comments
used in virNetDevBridgeSetupVlans().

Signed-off-by: Michal Privoznik <mpriv...@redhat.com>
Reviewed-by: Peter Krempa <pkre...@redhat.com>
---
 src/util/virnetdevbridge.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/util/virnetdevbridge.c b/src/util/virnetdevbridge.c
index c79d0c79b7..3b54e2cb1e 100644
--- a/src/util/virnetdevbridge.c
+++ b/src/util/virnetdevbridge.c
@@ -322,7 +322,7 @@ virNetDevBridgeSetupVlans(const char *ifname, const 
virNetDevVlan *virtVlan)
     if (!virtVlan || !virtVlan->nTags)
         return 0;
 
-    // The interface will have been automatically added to vlan 1, so remove it
+    /* The interface will have been automatically added to vlan 1, so remove 
it. */
     if (virNetlinkBridgeVlanFilterSet(ifname, RTM_DELLINK, 0, 1, &error) < 0) {
         if (error != 0) {
             virReportSystemError(-error,
@@ -332,7 +332,7 @@ virNetDevBridgeSetupVlans(const char *ifname, const 
virNetDevVlan *virtVlan)
         return -1;
     }
 
-    // If trunk mode, add the native VLAN then add the others, if any
+    /* If trunk mode, add the native VLAN then add the others, if any. */
     if (virtVlan->trunk) {
         size_t i;
 
@@ -357,7 +357,7 @@ virNetDevBridgeSetupVlans(const char *ifname, const 
virNetDevVlan *virtVlan)
                 }
         }
     } else {
-        // In native mode, add the single VLAN as pvid untagged
+        /* In native mode, add the single VLAN as pvid untagged. */
         flags = BRIDGE_VLAN_INFO_PVID | BRIDGE_VLAN_INFO_UNTAGGED;
         if (virNetlinkBridgeVlanFilterSet(ifname, RTM_SETLINK, flags,
                                           virtVlan->tag[0], &error) < 0) {
-- 
2.49.0

Reply via email to