Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-11] src/external/bsd/dhcpcd/dist/src



Module Name:    src
Committed By:   martin
Date:           Fri Nov 14 13:22:49 UTC 2025

Modified Files:
        src/external/bsd/dhcpcd/dist/src [netbsd-11]: if-bsd.c route.c

Log Message:
Pull up following revision(s) (requested by roy in ticket #83):

        external/bsd/dhcpcd/dist/src/if-bsd.c: revision 1.35
        external/bsd/dhcpcd/dist/src/route.c: revision 1.3
        external/bsd/dhcpcd/dist/src/route.c: revision 1.4

dhcpcd: For our routing, RTF_CONNECTED is the same as RTF_CLONING.

If we change the route, we want to flush anything dynamically created
which includes the flags on the route.
May fix PR kern/59664

dhcpcd: delete+add routes when changing RTF_CONNECTED/RTF_GATEWAY

Reject routes have RTF_GATEWAY, non reject routes do not.
If changing from one to another, we need to delete rather than change
because the kernel preserves some route flags such as RTF_GATEWAY.

Fixes PR kern/59664


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.34.2.1 src/external/bsd/dhcpcd/dist/src/if-bsd.c
cvs rdiff -u -r1.2 -r1.2.2.1 src/external/bsd/dhcpcd/dist/src/route.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index