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

2013-06-27 Thread Serge Hallyn
Quoting Andrew Gilbert (andrewg...@gmail.com): > Regarding the second patch, my thought is that if a user forgets the > '--', the current behaviour will either crash as described in my bug > report, or try to use the following arguments as the name of the > container to open. That is, I believe tha

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

2013-06-26 Thread Andrew Gilbert
Regarding the second patch, my thought is that if a user forgets the '--', the current behaviour will either crash as described in my bug report, or try to use the following arguments as the name of the container to open. That is, I believe that lxc-netstat -n -n -a will result in tr

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

2013-06-26 Thread Serge Hallyn
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 '-n' option. I've attached a patch for this below > (patch 1). I've also attached a patch that tries to Do The Right Thing > if someone uses '-n' with