Merge pull request #996 from ar45/add_network_type_to_keys

Expose lxc.network.type through lxc_list_nicconfigs()
This commit is contained in:
Christian Brauner 2016-05-01 20:38:57 +02:00
commit b4e73f49f3

View File

@ -521,6 +521,7 @@ extern int lxc_list_nicconfigs(struct lxc_conf *c, const char *key,
else
memset(retv, 0, inlen);
strprint(retv, inlen, "type\n");
strprint(retv, inlen, "script.up\n");
strprint(retv, inlen, "script.down\n");
if (netdev->type != LXC_NET_EMPTY) {