> Am 20.02.2018 um 11:15 schrieb Klemens Nanni <k...@openbsd.org>: > >> On Mon, Feb 19, 2018 at 05:09:58PM -0800, Ayaka Koshibe wrote: >> This diff would allow saying 'ifconfig foo -rdomain' instead of 'ifconfig >> foo rdomain 0'. > I can see where you're coming from but this breaks semantics: `-option' > clears an optional parameter or deconfigures functionality whereas > `rdomain' is mandatory (defaulting to 0), every interface is attached > to exactly one routing domain all the time. >
I would rather say that -option resets it to the default non-specific option. For example, -mode doesn’t remove all wireless modes. I think -rdomain is a good addition and the diff looks fine. Reyk