Unverified Commit 930cb700 by Josh Soref Committed by Christian Brauner

spelling: ifindices

Signed-off-by: 's avatarJosh Soref <jsoref@gmail.com>
parent 011112a2
...@@ -1319,7 +1319,7 @@ int main(int argc, char *argv[]) ...@@ -1319,7 +1319,7 @@ int main(int argc, char *argv[])
_exit(EXIT_FAILURE); _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) * (e.g. eth0:731:veth9MT2L4:730)
*/ */
fprintf(stdout, "%s:%d:%s:%d\n", newname, container_veth_ifidx, nicname, fprintf(stdout, "%s:%d:%s:%d\n", newname, container_veth_ifidx, nicname,
......
...@@ -2421,7 +2421,7 @@ bool lxc_delete_network_unpriv(struct lxc_handler *handler) ...@@ -2421,7 +2421,7 @@ bool lxc_delete_network_unpriv(struct lxc_handler *handler)
netdev->link); netdev->link);
clear_ifindices: 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 * have cached stale data which would cause it to fail on reboot
* we're we don't re-read the on-disk config file. * 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) ...@@ -2632,7 +2632,7 @@ bool lxc_delete_network_priv(struct lxc_handler *handler)
hostveth, netdev->link); hostveth, netdev->link);
clear_ifindices: 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 * have cached stale data which would cause it to fail on reboot
* we're we don't re-read the on-disk config file. * 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) ...@@ -3131,7 +3131,7 @@ int lxc_network_send_name_and_ifindex_to_parent(struct lxc_handler *handler)
return -1; return -1;
} }
TRACE("Sent network device names and ifindeces to parent"); TRACE("Sent network device names and ifindices to parent");
return 0; return 0;
} }
......
...@@ -1852,7 +1852,7 @@ static int lxc_spawn(struct lxc_handler *handler) ...@@ -1852,7 +1852,7 @@ static int lxc_spawn(struct lxc_handler *handler)
} }
/* Now all networks are created, network devices are moved into place, /* 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 * been recorded. The corresponding structs have now all been filled. So
* log them for debugging purposes. * log them for debugging purposes.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment