]> git.ipfire.org Git - thirdparty/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:58:23 +0000 (18:58 -0400)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/network.c

index 724bcbb465096fb7e228b9df9b59dbc208ddd02b..c4aa81f51fbd6605b1cf11f02f7ba0f9b8545f09 100644 (file)
@@ -2482,20 +2482,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;