https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194672

Renato Botelho <ga...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ga...@freebsd.org
           Assignee|freebsd-b...@freebsd.org    |freebsd-net@FreeBSD.org

--- Comment #1 from Renato Botelho <ga...@freebsd.org> ---
Looking into sys/netinet/ip_carp.c at line 1706:

        if (carpr.carpr_advskew > 0) {
            if (carpr.carpr_advskew >= 255) {
                error = EINVAL;
                break;
            }
            sc->sc_advskew = carpr.carpr_advskew;
        }

It silently accepts 0 as a good value (no error returned) but it doesn't set
sc->sc_advskew. Is it expected to work this way?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to