break;
case DHCP6_RECONFIGURE:
if (auth == NULL) {
- syslog(LOG_ERR,
+ syslog(ifo->options & DHCPCD_AUTH_REQUIRE ?
+ LOG_ERR : LOG_WARNING,
"%s: unauthenticated %s from %s",
ifp->name, op, ctx->sfrom);
- return;
+ if (ifo->options & DHCPCD_AUTH_REQUIRE)
+ return;
}
syslog(LOG_INFO, "%s: %s from %s",
ifp->name, op, ctx->sfrom);
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd September 14, 2014
+.Dd September 15, 2014
.Dt DHCPCD 8
.Os
.Sh NAME
only works with those interfaces, otherwise
.Nm
discovers available Ethernet interfaces.
+This is called Master mode and this behaviour can be forced with the
+.Fl M , Fl Fl master
+option so that an individual interface can start
+.Nm
+but only one instance is running.
+The
+.Nm dhcpcd-ui
+project expects dhcpcd to be running this way.
If any interface reports a working carrier then
.Nm
will try and obtain a lease before forking to the background,
Start
.Nm
in master mode even if only one interface specified on the command line.
+See the Multiple Interfaces section above.
.It Fl m , Fl Fl metric Ar metric
Metrics are used to prefer an interface over another one, lowest wins.
.Nm