]> git.proxmox.com Git - mirror_lxc.git/commitdiff
spelling: ifindices
authorJosh Soref <jsoref@users.noreply.github.com>
Tue, 30 Oct 2018 07:11:19 +0000 (07:11 +0000)
committerJosh Soref <jsoref@users.noreply.github.com>
Tue, 30 Oct 2018 07:11:19 +0000 (07:11 +0000)
Signed-off-by: Josh Soref <jsoref@gmail.com>
src/lxc/cmd/lxc_user_nic.c
src/lxc/network.c
src/lxc/start.c

index 02915b882fc5efcdcedeeca57275a7b501bba561..0ff41849741adfcd2819de5ea21c3133ac19bfa0 100644 (file)
@@ -1319,7 +1319,7 @@ int main(int argc, char *argv[])
                _exit(EXIT_FAILURE);
        }
 
-       /* Write names of veth pairs and their ifindeces to stout:
+       /* Write names of veth pairs and their ifindices to stout:
         * (e.g. eth0:731:veth9MT2L4:730)
         */
        fprintf(stdout, "%s:%d:%s:%d\n", newname, container_veth_ifidx, nicname,
index d7cc0f6d047d6b5159baf9a2e3a319c5a70a17fe..d0f14e632321d805750a6ebca67afc2cb18a5270 100644 (file)
@@ -2421,7 +2421,7 @@ bool lxc_delete_network_unpriv(struct lxc_handler *handler)
                     netdev->link);
 
 clear_ifindices:
-               /* We need to clear any ifindeces we recorded so liblxc won't
+               /* We need to clear any ifindices we recorded so liblxc won't
                 * have cached stale data which would cause it to fail on reboot
                 * we're we don't re-read the on-disk config file.
                 */
@@ -2632,7 +2632,7 @@ bool lxc_delete_network_priv(struct lxc_handler *handler)
                             hostveth, netdev->link);
 
 clear_ifindices:
-               /* We need to clear any ifindeces we recorded so liblxc won't
+               /* We need to clear any ifindices we recorded so liblxc won't
                 * have cached stale data which would cause it to fail on reboot
                 * we're we don't re-read the on-disk config file.
                 */
@@ -3131,7 +3131,7 @@ int lxc_network_send_name_and_ifindex_to_parent(struct lxc_handler *handler)
                        return -1;
        }
 
-       TRACE("Sent network device names and ifindeces to parent");
+       TRACE("Sent network device names and ifindices to parent");
        return 0;
 }
 
index 583ba898391f5e65115a1293232a52580c490cdb..25368c4e0323b55e3f10157aa1b0d9b3fe99d8d7 100644 (file)
@@ -1913,7 +1913,7 @@ static int lxc_spawn(struct lxc_handler *handler)
        }
 
        /* Now all networks are created, network devices are moved into place,
-        * and the correct names and ifindeces in the respective namespaces have
+        * and the correct names and ifindices in the respective namespaces have
         * been recorded. The corresponding structs have now all been filled. So
         * log them for debugging purposes.
         */