From 74836992282e980ebf16a37e11fe12dd1dbe19ea Mon Sep 17 00:00:00 2001 From: Aron Podrigal Date: Sun, 1 May 2016 12:13:39 -0400 Subject: [PATCH] Added `type` to keys in lxc_list_nicconfigs Signed-off-by: Aron Podrigal --- src/lxc/confile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 8c366c83b..28218713d 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -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) {