From: 0x0916 Date: Tue, 27 Jun 2017 03:38:23 +0000 (+0800) Subject: confile: update comment: replace p+12 with p+8 X-Git-Tag: lxc-2.1.0~78^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82c3a0dc5761f37b9985a05dc2febd56415b61a5;p=thirdparty%2Flxc.git confile: update comment: replace p+12 with p+8 Signed-off-by: 0x0916 --- diff --git a/src/lxc/confile.c b/src/lxc/confile.c index c3fb1ec71..ca50946b9 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -401,7 +401,7 @@ static int set_config_net_type(const char *key, const char *value, } /* - * If you have p="lxc.net.0.link", pass it p+12 + * If you have p="lxc.net.0.link", pass it p+8 * to get back '0' (the index of the nic). */ static int get_network_netdev_idx(const char *key) @@ -419,7 +419,7 @@ static int get_network_netdev_idx(const char *key) } /* - * If you have p="lxc.net.0", pass this p+12 and it will return + * If you have p="lxc.net.0", pass this p+8 and it will return * the netdev of the first configured nic. */ static struct lxc_netdev *get_netdev_from_key(const char *key,