Re: Patch for dhclient.8 and dhclient.c

2011-10-23 Thread Steffen Daode Nurpmeso
Argh! - besides everything what jmc@ said, it should have been the following diff *for sure*: diff --git a/sbin/dhclient/dhclient.8 b/sbin/dhclient/dhclient.8 index 9d77c7e..b6094c1 100644 --- a/sbin/dhclient/dhclient.8 +++ b/sbin/dhclient/dhclient.8 @@ -57,6 +57,16 @@ The name of the network inte

Re: Patch for dhclient.8 and dhclient.c

2011-10-23 Thread Steffen Daode Nurpmeso
Jason McIntyre wrote [2011-10-22 16:24+0200]: > i will look at it. but i'm pretty sure we won;t want that. > > jmc Thanks for looking at *that* anyway! It was the wrong source diff from somewhere in between. I can't comment on 'egress' otherwise. ifconfig.8 talks about default route(s), and get

Re: Patch for dhclient.8 and dhclient.c

2011-10-22 Thread Jason McIntyre
On Sat, Oct 22, 2011 at 03:24:42PM +0200, Steffen Daode Nurpmeso wrote: > Ciao, > > 49.html states: > > dhclient(8) now accepts 'egress' as an interface name, meaning > whichever interface is marked as being in the 'egress' group. > > but the manual page doesn't mention it. i'm not a fa

Re: Patch for dhclient.8 and dhclient.c

2011-10-22 Thread Steffen Daode Nurpmeso
Hello again, ok and while i did the patches i'm replying to, i did't understand: the code seems to be a real nifty automatic deduction of configuration data which is made available somewhere else (ifconfig(8)). It may be stupid, useless etc. The appended diff implements a '=GROUPNAME' command lin

Patch for dhclient.8 and dhclient.c

2011-10-22 Thread Steffen Daode Nurpmeso
Ciao, 49.html states: dhclient(8) now accepts 'egress' as an interface name, meaning whichever interface is marked as being in the 'egress' group. but the manual page doesn't mention it. Also it seems to me that dhclient.c:get_ifname() uses an error() call with a %m format without any er