]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/lxccontainer.c
lxccontainer: fix lxc_config_item_is_supported
authorRuben Jenster <r.jenster@drachenfels.de>
Fri, 23 Oct 2020 16:32:15 +0000 (18:32 +0200)
committerRuben Jenster <r.jenster@drachenfels.de>
Tue, 27 Oct 2020 08:47:55 +0000 (09:47 +0100)
commit6eb516a793edd7c8e37472d00d1fc599f176bb97
tree7c5f94577e5aa6e6eec9038b2be4fbede6319d5d
parentc8fe11552a41bd1abdc423dd2489539bc324afd9
lxccontainer: fix lxc_config_item_is_supported

Use exact match instead of longest prefix match
to check whether a config item is supported.

Signed-off-by: Ruben Jenster <r.jenster@drachenfels.de>
src/lxc/confile.c
src/lxc/confile.h
src/lxc/lxccontainer.c
src/tests/get_item.c