[lxc-devel] [PATCH 2/2] Add -n differentiation to lxc-netstat

2013-06-26 Thread Andrew Gilbert
-n; the current behaviour continues. The new behaviour makes netstat -n -n -a behave like netstat -n -a -n which already will act as though there is '--' between '' and '-a' (see line 91 of lxc-netstat.in). Signed-off-by: Andrew Gilbert ---

Re: [lxc-devel] Possible bug in lxc-netstat w/ patch; feature patch

2013-06-26 Thread Andrew Gilbert
matter if behaviour is undefined under these circumstances. --Andrew On 06/26/2013 06:57 AM, Serge Hallyn wrote: > Quoting Andrew Gilbert (andrewg...@gmail.com): >> Hi, >> I think I've discovered a bug in lxc-netstat when trying to have it run >> netstat with the '-

[lxc-devel] [PATCH 1/2] Add double-dash to lxc-netstat re-call arguments

2013-06-26 Thread Andrew Gilbert
them. Signed-off-by: Andrew Gilbert --- src/lxc/lxc-netstat.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/lxc-netstat.in b/src/lxc/lxc-netstat.in index 2fa2d23..229c214 100644 --- a/src/lxc/lxc-netstat.in +++ b/src/lxc/lxc-netstat.in @@ -93,7 +93,7 @@ if [ -z

[lxc-devel] Possible bug in lxc-netstat w/ patch; feature patch

2013-06-21 Thread Andrew Gilbert
s valid for lxc-netstat as well as netstat, as the lone -n option is. P A T C H 1: From 78ea721f2a6b0cc01cffba93109bd8d8202eeb98 Mon Sep 17 00:00:00 2001 From: Andrew Gilbert Date: Fri, 21 Jun 2013 11:24:37 -0700 Subject: [PATCH] Add double-dash to lxc-netstat re-call arguments When lxc-nets