git: rtadvd: Fix DNSSL options handling

Sepherosa Ziehau sephe at
Tue Oct 20 18:13:45 PDT 2015

commit 33463a05e41302fe47b8a19887c99c1830f6634d
Author: Sepherosa Ziehau <sephe at>
Date:   Tue Oct 20 20:41:24 2015 +0800

    rtadvd: Fix DNSSL options handling
    The rtadvd program, recently refreshed from FreeBSD, mishandles DNSSL
    options, which need to be padded to an eight byte boundary.  The code
    correctly calculates the padding length, then fails to increment the
    pointer used to write the packet data by this amount.  As a result,
    all subsequent option data gets written into the wrong place, making
    the rest of the packet junk.

Summary of changes:
 usr.sbin/rtadvd/config.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

DragonFly BSD source repository

More information about the Commits mailing list