chiark / gitweb /
config: Use SKL::None for `link` and fix `server=`
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Aug 2021 17:35:06 +0000 (18:35 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Aug 2021 18:46:01 +0000 (19:46 +0100)
commit9ff953509245685c075a5ab93a3e652215781885
tree06013cdc1f28cc4bb264d8a9bb55a260ba386b12
parent6b70a0550f2a7fd29d5cc1f8454b3e5adf780eaf
config: Use SKL::None for `link` and fix `server=`

We don't want to allow `link=` in the actual config files at all, so we
should set its SKL to None.

Conversely, `server` needs to be tolerated in the special `ServerName`
section even though it doesn't appear in the InstanceConfig struct.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/config.rs