-
container.conf: Fix off by 2 in option parsing · f50520d5Maximilian Blenk authored
This commit fixes a off by 2 in config option parsing (due to missing parenthesis). The error occurs if for instance lxc.net.0.type is parsed. In that case, the .0 is removed from the string. However, due to the missing parenthesis, the null terminating character is off by two which means the modified config option would be lxc.net.typepe instead of lxc.net.type. Signed-off-by:Maximilian Blenk <Maximilian.Blenk@bmw.de>
×