The de-facto standard says that only a single interface can report the default knob enabled.
Thus, this commit changes the code to assert that behavior when multiple interfaces are passed.
It only implements the part of the proposal where we indicate that if multiple interfaces are passed for the default network, only the first of them is marked as the default.
A follow-up PR will handle the default route premise.
The de-facto standard says that only a single interface can report the
default
knob enabled.Thus, this commit changes the code to assert that behavior when multiple interfaces are passed.
It only implements the part of the proposal where we indicate that if multiple interfaces are passed for the default network, only the first of them is marked as the default.
A follow-up PR will handle the default route premise.
Fixes: #69