dhcpcd-discuss

Change how error reported when interface is not allowed by config

Maxime Daniel

Mon Mar 16 22:35:45 2020

Hello,

When using allowinterfaces / denyinterfaces configuration keywords, when
running dhcpcd on one denied or not allowed interface, the error reported
is:
xxxx: interface not found or invalid

Even if the message looks accurate since it's not allowed by configuration
(and interface is probably simply not present on the available interface
list in the code), when you don't know it's configuration related or you're
forget you set it on the config file, the error is really unclear. I think
it would be useful to report that interface is explicitly not allowed, no ?

Thanks,
Maxime.

Follow-Ups:
Re: Change how error reported when interface is not allowed by configRoy Marples
Archive administrator: postmaster@marples.name