]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - usr.sbin/rtsold/rtsol.c
rtsol(d): add script for "M bit"
authorbz <bz@FreeBSD.org>
Tue, 25 Aug 2020 16:09:23 +0000 (16:09 +0000)
committerbz <bz@FreeBSD.org>
Tue, 25 Aug 2020 16:09:23 +0000 (16:09 +0000)
commit8ffcd478e5d5d60654e92ee952d7f50192577917
treef340935dc9ba49ae8fdae0d4415e6d78e84bd9eb
parent5ef0bd68b5157522a9f20a3d6b41c2b838922473
rtsol(d): add script for "M bit"

While we do support the "O bit" running a script (usually to start a
dhcpv6 client) we have no options for setups which set the "M bit" for,
e.g., static address assignment as in EC2.

Duplicate most of the "O bit" logic to also start a script for the
"M bit" with the one difference: if the "M bit" is set we will not
start the script for the "O bit" as well (per RFC 4861, Section 4.2).

Reviewed by: hrs, markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D26099
usr.sbin/rtsold/dump.c
usr.sbin/rtsold/rtsol.c
usr.sbin/rtsold/rtsold.8
usr.sbin/rtsold/rtsold.c
usr.sbin/rtsold/rtsold.h