prune UNKNOWN *and* PROPAGATE_BOTHWAYS

If PropagatingEitherWay's interface is not met in *both* directions (but only one),
in BOTHWAY mode, issue a warning. Otherwise handle both, AUTO and BOTHWAY mode,
in the same fashion when resolving interfaces.

TODO: move validateConnectivity() in StagePrivate.
default action = default action from ContainerBase.
PropagatingEitherWay: issue warning for case above
This commit is contained in:
Robert Haschke 2019-03-11 01:01:53 +01:00
parent f831fe5483
commit 10c7a9cfd7

View File

@ -399,7 +399,7 @@ bool SerialContainerPrivate::connect(container_type::const_iterator cur)
cur_impl->setPrevEnds((*prev)->pimpl()->ends());
// schedule stage with unknown interface for 2nd sweep
return required == UNKNOWN;
return required == UNKNOWN || required == PROPAGATE_BOTHWAYS;
}
/* Establishing the interface connections, we face a chicken-egg-problem: