https://bugzilla.mindrot.org/show_bug.cgi?id=3726

Damien Miller <d...@mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d...@mindrot.org

--- Comment #1 from Damien Miller <d...@mindrot.org> ---
This behaviour is completely intentional and is documented in the
manual page:

> An Include directive may appear inside a Match block to 
> perform conditional inclusion.

Having Match blocks within a conditionally-included file override the
Match that originally included them would be very surprising and
difficult to reason about.

As it operates now, both Match blocks (the one in the top-level file
and the one in the included file) need to evaluate to true for the
their configuration to apply. IMO this is the safest, easiest to reason
about and most expressive option.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to