]> git.proxmox.com Git - mirror_lxc.git/commitdiff
network: non-functional changes
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 1 Oct 2017 05:27:00 +0000 (07:27 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 4 Oct 2017 22:56:19 +0000 (18:56 -0400)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/network.c

index ca9123b637a99aff89adb1c9eb113d26d23bc7e4..7349a4c1c2cb51a5f9388691d5cc9bb7ac9a6ab3 100644 (file)
@@ -2510,20 +2510,21 @@ bool lxc_delete_network_priv(struct lxc_handler *handler)
                ret = lxc_netdev_delete_by_index(netdev->ifindex);
                if (-ret == ENODEV) {
                        INFO("Interface \"%s\" with index %d already "
-                                       "deleted or existing in different network "
-                                       "namespace",
-                                       netdev->name[0] != '\0' ? netdev->name : "(null)",
-                                       netdev->ifindex);
+                            "deleted or existing in different network "
+                            "namespace",
+                            netdev->name[0] != '\0' ? netdev->name : "(null)",
+                            netdev->ifindex);
                } else if (ret < 0) {
                        WARN("Failed to remove interface \"%s\" with "
-                                       "index %d: %s",
-                                       netdev->name[0] != '\0' ? netdev->name : "(null)",
-                                       netdev->ifindex, strerror(-ret));
                        continue;
+                            "index %d: %s",
+                            netdev->name[0] != '\0' ? netdev->name : "(null)",
+                            netdev->ifindex, strerror(-ret));
+                            continue;
                }
                INFO("Removed interface \"%s\" with index %d",
-                               netdev->name[0] != '\0' ? netdev->name : "(null)",
-                               netdev->ifindex);
+                    netdev->name[0] != '\0' ? netdev->name : "(null)",
+                    netdev->ifindex);
 
                if (netdev->type != LXC_NET_VETH)
                        continue;