Commit b4e73f49 by Christian Brauner

Merge pull request #996 from ar45/add_network_type_to_keys

Expose lxc.network.type through lxc_list_nicconfigs()
parents 0aeed838 74836992
...@@ -521,6 +521,7 @@ extern int lxc_list_nicconfigs(struct lxc_conf *c, const char *key, ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment