]> git.ipfire.org Git - thirdparty/lxc.git/commit
confile: improve get_network_config_ops() 1746/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 15 Aug 2017 20:10:24 +0000 (22:10 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 15 Aug 2017 20:11:25 +0000 (22:11 +0200)
commit7451daf89dbe37deba08cee45ebd032ec6e6b174
treedc3f3a02024e8a64be5f04b60720e4d8375a4655
parente45d720486113a8f6029a51dae1109527880ebb6
confile: improve get_network_config_ops()

- handle lxc.net.<idx> keys without any subkey
- allow caller to pass NULL if caller doesn't need to retrieve deindexed key

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/confile.c