]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rtsol(d): add script for "M bit"
authorBjoern A. Zeeb <bz@FreeBSD.org>
Tue, 25 Aug 2020 16:09:23 +0000 (16:09 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Tue, 25 Aug 2020 16:09:23 +0000 (16:09 +0000)
commit60e7f66931a5cf268d356fd11532245e057267ac
treef340935dc9ba49ae8fdae0d4415e6d78e84bd9eb
parentae750d5cdfa69babbb7aa7335b438257b563f2a3
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