On Thu, Apr 11, 2013 at 02:26:01AM -0700, Stephane A. Sezer wrote:
> Hello tech@,
>
> brad@ reported a bug in the code I wrote a few months ago to support RFC
> 6106 in rtadvd(8). The following patches fix that bug, and another mistake I
> found while going through the code. Also included are some minor style
> changes.
>
> usr.sbin/rtadvd/config.c | 29 +++++++++++++++++------------
> 1 file changed, 17 insertions(+), 12 deletions(-)
I had come across this while comparing generated packets from rtadvd vs
dnsmasq and Linux's radvd. Using a longer search list I noticed some
truncation when looking at the router advertisement via tcpdump..
rtadvd as is..
dnssl option (31), length 48 (6): lifetime 900s, domain(s):
home.comstyle.com. comstyle.com. test.c[ndp opt]
after patching and what dnsmasq/Linux radvd shows..
dnssl option (31), length 56 (7): lifetime 900s, domain(s):
home.comstyle.com. comstyle.com. test.com.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.