restore the previous semantics wrt if up, tunnel, and address config.
authordlg <dlg@openbsd.org>
Mon, 12 Feb 2018 03:15:32 +0000 (03:15 +0000)
committerdlg <dlg@openbsd.org>
Mon, 12 Feb 2018 03:15:32 +0000 (03:15 +0000)
commitf24702788d0d63d02c6fb2fb62ae8ce79f0bebfe
treea4f050d2d4f89adc9b40fe68e8dd00d982738d0b
parentfd3c215a9ada35c5ba99a9e61e8e8c50cd715fed
restore the previous semantics wrt if up, tunnel, and address config.

this is a port of the change made to if_etherip.c r1.35 to allow
addresses to be configured before the tunnel is configured.

this rollback is particularly annoying on gre with keepalives.
keepalives rely on the interface rdomain and tunnel rdomain to be
the same, which the rolled back semantics checked. now it is possible
to create an invalid configuration and not get any feedback about
it.
sys/net/if_gre.c