[Lxc-users] [PATCH 1/2] print netdev name, not link, after moving dev into netns

Serge Hallyn serge.hallyn at ubuntu.com
Fri Jun 24 17:54:32 UTC 2011


Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
---
 src/lxc/conf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/lxc/conf.c b/src/lxc/conf.c
index 483d375..2eb598b 100644
--- a/src/lxc/conf.c
+++ b/src/lxc/conf.c
@@ -1633,7 +1633,7 @@ int lxc_assign_network(struct lxc_list *network, pid_t pid)
 			return -1;
 		}
 
-		DEBUG("move '%s' to '%d'", netdev->link, pid);
+		DEBUG("move '%s' to '%d'", netdev->name, pid);
 	}
 
 	return 0;
-- 
1.7.4.1





More information about the lxc-users mailing list