CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2019/01/26 22:13:04

Modified files:
        sys/net        : if_mpe.c 
        sys/netmpls    : mpls.h mpls_input.c 

Log message:
use mpls_ip_adjttl and mpls_ip6_adjttl in mpe instead of rolling it again.

mpls_ip_adjttl now patches the checksum rather than check it and
calculate it again. both mpls_ip_adjttl and mpls_ip6_adjttl now
rely on the caller to check the sysctls for whether they should run
or not, which paves the way for making it configurable in mpe via
the tunnel ioctls.

Reply via email to