]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Added `type` to keys in lxc_list_nicconfigs 996/head
authorAron Podrigal <aronp@guaranteedplus.com>
Sun, 1 May 2016 16:13:39 +0000 (12:13 -0400)
committerAron Podrigal <aronp@guaranteedplus.com>
Sun, 1 May 2016 16:15:51 +0000 (12:15 -0400)
Signed-off-by: Aron Podrigal <aronp@guaranteedplus.com>
src/lxc/confile.c

index 8c366c83b24dd2ce46a0cc565f8d3c0f0fecafe6..28218713d390805a53df34b68607d72d7108d308 100644 (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) {