From: Josh Soref Date: Tue, 30 Oct 2018 07:11:19 +0000 (+0000) Subject: spelling: ifindices X-Git-Tag: lxc-3.1.0~26^2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad2ddfcdb1db67c82e28d6a9315c24ef8a4c14a4;p=thirdparty%2Flxc.git spelling: ifindices Signed-off-by: Josh Soref --- diff --git a/src/lxc/cmd/lxc_user_nic.c b/src/lxc/cmd/lxc_user_nic.c index 02915b882..0ff418497 100644 --- a/src/lxc/cmd/lxc_user_nic.c +++ b/src/lxc/cmd/lxc_user_nic.c @@ -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, diff --git a/src/lxc/network.c b/src/lxc/network.c index d7cc0f6d0..d0f14e632 100644 --- a/src/lxc/network.c +++ b/src/lxc/network.c @@ -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; } diff --git a/src/lxc/start.c b/src/lxc/start.c index 583ba8983..25368c4e0 100644 --- a/src/lxc/start.c +++ b/src/lxc/start.c @@ -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. */