[lxc-devel] [lxc/master] Added `type` to keys in lxc_list_nicconfigs

ar45 on Github lxc-bot at linuxcontainers.org
Sun May 1 16:22:07 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 572 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160501/81f719f6/attachment.bin>
-------------- next part --------------
From 74836992282e980ebf16a37e11fe12dd1dbe19ea Mon Sep 17 00:00:00 2001
From: Aron Podrigal <aronp at guaranteedplus.com>
Date: Sun, 1 May 2016 12:13:39 -0400
Subject: [PATCH] Added `type` to keys in lxc_list_nicconfigs

Signed-off-by: Aron Podrigal <aronp at guaranteedplus.com>
---
 src/lxc/confile.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lxc/confile.c b/src/lxc/confile.c
index 8c366c8..2821871 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) {


More information about the lxc-devel mailing list