]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/confile.c
confile: fix order independence of network keys
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 11 May 2020 20:16:59 +0000 (22:16 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 11 May 2020 20:16:59 +0000 (22:16 +0200)
commit756cadb6ab07a6043960bf0db6c39742fb10f118
treee37dc9cf1c22da41acb64b6b4aa879404b9013ba
parent598b35b421a898f7b8c0b94fad32ff74595c53f3
confile: fix order independence of network keys

We need to make sure we don't overwrite values when they have already been set.

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