Skip to content

Commit

Permalink
Merge pull request #996 from ar45/add_network_type_to_keys
Browse files Browse the repository at this point in the history
Expose lxc.network.type through lxc_list_nicconfigs()
  • Loading branch information
Christian Brauner committed May 1, 2016
2 parents 0aeed83 + 7483699 commit b4e73f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lxc/confile.c
Expand Up @@ -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) {
Expand Down

0 comments on commit b4e73f4

Please sign in to comment.