mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-13 16:20:24 +00:00
confile: config_network_ipv6_gateway()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
cae8a0f01f
commit
114df19ee1
@ -1078,7 +1078,7 @@ static int config_network_ipv6_gateway(const char *key, const char *value,
|
||||
|
||||
free(netdev->ipv6_gateway);
|
||||
|
||||
if (!value || strlen(value) == 0) {
|
||||
if (config_value_empty(value)) {
|
||||
netdev->ipv6_gateway = NULL;
|
||||
} else if (!strcmp(value, "auto")) {
|
||||
netdev->ipv6_gateway = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user