]> git.ipfire.org Git - thirdparty/lxc.git/commit
network: perform network validation at creation time
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 14 Jun 2017 11:53:23 +0000 (13:53 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 18 Jun 2017 09:53:50 +0000 (11:53 +0200)
commit56637458cae04d109b07da7d31aef23eb7ff646f
treea74066f22b1d9c6ae9c7706f75560e2b786059af
parentce2f5ae83f729915c09abdceb94e358662574664
network: perform network validation at creation time

Some of the checks were previously performed when parsing the network config.
But since we allow for a little more flexibility now it doesn't work anymore.
Instead, let's validate the network at creation time.

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