Description: Use netstat -xl not -xa in lxc-ls
 This patch reproduces the upstream fix for the lxc-ls bug which causes
 running containers to show up once for each open console.
Origin: upstream
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1043018
Forwarded: no

Index: lxc-0.7.5/src/lxc/lxc-ls.in
===================================================================
--- lxc-0.7.5.orig/src/lxc/lxc-ls.in	2012-11-07 11:02:04.000000000 -0600
+++ lxc-0.7.5/src/lxc/lxc-ls.in	2012-11-07 11:02:18.804548383 -0600
@@ -24,7 +24,7 @@
 
 ls "$@" -- $lxcpath
 
-active=$(netstat -xa 2>/dev/null | grep $lxcpath | \
+active=$(netstat -xl 2>/dev/null | grep $lxcpath | \
 	sed -e 's#.*'"$lxcpath/"'\(.*\)/command#\1#');
 
 if test -n "$active"; then
