]> git.proxmox.com Git - mirror_lxc.git/commit
network: fix lxc_netdev_rename_by_index()
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 14 Jun 2019 10:39:20 +0000 (12:39 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 14 Jun 2019 10:39:20 +0000 (12:39 +0200)
commit90d79629cb2180f6c70c47c9790fbaf8e577ab42
tree838dc09506967ed03e8fe895b078d2cb034e291e
parentf00010ff82bb17356af5b449f6e0f4012417714e
network: fix lxc_netdev_rename_by_index()

Return an error code when the name is invalid instead of pretending that things
are fine.

Closes #3044.

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