mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-06 06:34:43 +00:00
Merge pull request #996 from ar45/add_network_type_to_keys
Expose lxc.network.type through lxc_list_nicconfigs()
This commit is contained in:
commit
b4e73f49f3
@ -521,6 +521,7 @@ extern int lxc_list_nicconfigs(struct lxc_conf *c, const char *key,
|
|||||||
else
|
else
|
||||||
memset(retv, 0, inlen);
|
memset(retv, 0, inlen);
|
||||||
|
|
||||||
|
strprint(retv, inlen, "type\n");
|
||||||
strprint(retv, inlen, "script.up\n");
|
strprint(retv, inlen, "script.up\n");
|
||||||
strprint(retv, inlen, "script.down\n");
|
strprint(retv, inlen, "script.down\n");
|
||||||
if (netdev->type != LXC_NET_EMPTY) {
|
if (netdev->type != LXC_NET_EMPTY) {
|
||||||
|
Loading…
Reference in New Issue
Block a user