From cc65c47fd3cc8348b6582977f1da9aff6a77d114 Mon Sep 17 00:00:00 2001 From: Neven Miculinic Date: Thu, 28 Mar 2019 12:54:26 +0100 Subject: [PATCH] updated outdated config --- config.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/config.go b/config.go index 3487bc2..afeb4b8 100644 --- a/config.go +++ b/config.go @@ -21,17 +21,15 @@ type Config struct { Address []*net.IPNet // list of IP (v4 or v6) addresses to be set as the interface’s DNS servers. May be specified multiple times. Upon bringing the interface up, this runs ‘resolvconf -a tun.INTERFACE -m 0 -x‘ and upon bringing it down, this runs ‘resolvconf -d tun.INTERFACE‘. If these particular invocations of resolvconf(8) are undesirable, the PostUp and PostDown keys below may be used instead. - // Currently unsupported DNS []net.IP - // —if not specified, the MTU is automatically determined from the endpoint addresses or the system default route, which is usually a sane choice. However, to manually specify an MTU to override this automatic discovery, this value may be specified explicitly. + + // MTU is automatically determined from the endpoint addresses or the system default route, which is usually a sane choice. However, to manually specify an MTU to override this automatic discovery, this value may be specified explicitly. MTU int // Table — Controls the routing table to which routes are added. Table int // PreUp, PostUp, PreDown, PostDown — script snippets which will be executed by bash(1) before/after setting up/tearing down the interface, most commonly used to configure custom DNS options or firewall rules. The special string ‘%i’ is expanded to INTERFACE. Each one may be specified multiple times, in which case the commands are executed in order. - - // Currently unsupported PreUp string PostUp string PreDown string