NFC yet, but we are going to change this.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
PerClient,
Limited,
Limits,
- ClientAgnostic,
+ Global,
ServerName,
}
use SectionKindList as SKL;
SKL::Limits => matches!(s, SN::ServerLimit(_)
| SN::GlobalLimit),
- SKL::ClientAgnostic => matches!(s, SN::Common
+ SKL::Global => matches!(s, SN::Common
| SN::Server(_)),
SKL::Limited => SKL::PerClient.contains(s)
match self.end {
LinkEnd::Client => self.ordinary(key)?,
LinkEnd::Server => {
- self.first_of(key, SKL::ClientAgnostic)?
+ self.first_of(key, SKL::Global)?
.unwrap_or_default()
},
}