From e7162b74df97a6e4780a6a4d37f0ad963b5c5fd1 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 24 Jul 2021 15:30:47 +0100 Subject: [PATCH] config: Tidy defaults and move some info to README.config Signed-off-by: Ian Jackson --- README.config | 3 ++- src/config.rs | 13 ------------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/README.config b/README.config index 4afc45a..a6db64e 100644 --- a/README.config +++ b/README.config @@ -143,7 +143,8 @@ Ordinary settings, used by both, not client-specific: On client: used only to construct default url. mtu - Must match exactly. (UNCHECKED) [1500 bytes] + Of virtual interface. Must match exactly at each end. + (UNCHECKED) [1500 bytes] ifname_server Virtual interface name on the server. [shippo%d] diff --git a/src/config.rs b/src/config.rs index b9cb744..2d45bd4 100644 --- a/src/config.rs +++ b/src/config.rs @@ -22,24 +22,11 @@ ifname_client = hippo%%d ifname_server = shippo%%d max_clock_skew = 300 -#[server] or [] overrides ipif = userv root ipif %(local)s,%(peer)s,%(mtu)s,slip,%(ifname)s %(rnets)s -# relating to virtual network mtu = 1500 -# addrs = 127.0.0.1 ::1 -# url - -# relating to virtual network vvnetwork = 172.24.230.192 -# vnetwork = / -# vaddr = -# vrelay = - - -# [] -# secret = # used by both, must match [LIMIT] max_batch_down = 262144 -- 2.30.2