Skip to content

Commit

Permalink
network: fix typ and formatting in comment
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Mar 2, 2020
1 parent 83aa950 commit 096bf70
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/lxc/network.c
Expand Up @@ -2520,9 +2520,10 @@ bool lxc_delete_network_unpriv(struct lxc_handler *handler)
netdev->link);

clear_ifindices:
/* 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.
/*
* We need to clear any ifindices we recorded so liblxc won't
* have cached stale data which would cause it to fail on
* reboot where we don't re-read the on-disk config file.
*/
netdev->ifindex = 0;
if (netdev->type == LXC_NET_PHYS) {
Expand Down

0 comments on commit 096bf70

Please sign in to comment.