[PATCH 3/3] Minor style cleanups in rtadvd code.

2013-04-11 Thread Stephane A. Sezer
From: "Stephane A. Sezer" --- usr.sbin/rtadvd/config.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/usr.sbin/rtadvd/config.c b/usr.sbin/rtadvd/config.c index 2c003a3..6e3f185 100644 --- a/usr.sbin/rtadvd/config.c +++ b/usr.sbin/rtadv

[PATCH 1/3] Correctly compute packet size when including DNS search lists.

2013-04-11 Thread Stephane A. Sezer
From: "Stephane A. Sezer" --- usr.sbin/rtadvd/config.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/usr.sbin/rtadvd/config.c b/usr.sbin/rtadvd/config.c index 3c72a6d..1edea84 100644 --- a/usr.sbin/rtadvd/config.c +++ b/usr.sbin/rtadvd/config.c @@ -724

[PATCH 2/3] Fix a comparison when building a packet with DNS search lists.

2013-04-11 Thread Stephane A. Sezer
From: "Stephane A. Sezer" --- usr.sbin/rtadvd/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/rtadvd/config.c b/usr.sbin/rtadvd/config.c index 1edea84..2c003a3 100644 --- a/usr.sbin/rtadvd/config.c +++ b/usr.sbin/rtadvd/config.c @@ -86

Fix an off-by-one bug in rtadvd(8)

2013-04-11 Thread Stephane A. Sezer
+ 1 file changed, 17 insertions(+), 12 deletions(-) -- Stephane A. Sezer

Re: rtadvd(8) patch 2/2 : finalize server-side RFC 6106 support

2012-02-23 Thread Stephane A. Sezer
On Fri, 27 Jan 2012 15:20:29 +0100 "Stephane A. Sezer" wrote: > Hello again tech@, > > Here's also the updated version of a patch I wrote approx. one year ago > to support RFC 6106 in rtadvd(8). J.R. Oldroyd told me there was a bug > in the generation of the DNS s

Re: rtadvd(8) patch 1/2 : `noifprefix` support

2012-02-23 Thread Stephane A. Sezer
On Fri, 27 Jan 2012 15:13:59 +0100 "Stephane A. Sezer" wrote: > Hello tech@, > > I discussed a little with brad@ of some features of the rtadvd(8) > daemon in OpenBSD and of the state of the support for some IPv6 > features and he asked me if it was possible to add a

rtadvd(8) patch 2/2 : finalize server-side RFC 6106 support

2012-01-27 Thread Stephane A. Sezer
s the patch. Regards, -- Stephane A. Sezer Index: sys/netinet/icmp6.h === RCS file: /cvs/src/sys/netinet/icmp6.h,v retrieving revision 1.33 diff -u -r1.33 icmp6.h --- sys/netinet/icmp6.h 22 Mar 2010 12:23:32 - 1.33 +++ sys/ne

rtadvd(8) patch 1/2 : `noifprefix` support

2012-01-27 Thread Stephane A. Sezer
in case no `addr` option is present in the config file. Here is the (very simple) patch for this. Regards, -- Stephane A. Sezer Index: usr.sbin/rtadvd/config.c === RCS file: /cvs/src/usr.sbin/rtadvd/config.c,v retrieving revision

Re: [BUG] pfctl(8) silently accept directories as config files

2012-01-02 Thread Stephane A. Sezer
On Mon, 2 Jan 2012 15:28:48 -0200 "Christiano F. Haesbaert" wrote: > On 2 January 2012 06:58, Henning Brauer wrote: > > what next? having pfctl whine about an empty config file? > > > > * Stephane A. Sezer [2012-01-02 09:36]: > >> Hi, > >>

[BUG] pfctl(8) silently accept directories as config files

2012-01-02 Thread Stephane A. Sezer
so here is a patch that fixes the issue. Regards, -- Stephane A. Sezer Index: sbin/pfctl/parse.y === RCS file: /cvs/src/sbin/pfctl/parse.y,v retrieving revision 1.613 diff -u -r1.613 parse.y --- sbin/pfctl/parse.y 19 Dec 2011 23:26