diff options
Diffstat (limited to 'conf/writer.go')
-rw-r--r-- | conf/writer.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/writer.go b/conf/writer.go index c786ec10..ddf54aa5 100644 --- a/conf/writer.go +++ b/conf/writer.go @@ -53,6 +53,9 @@ func (conf *Config) ToWgQuick() string { if len(conf.Interface.PostDown) > 0 { output.WriteString(fmt.Sprintf("PostDown = %s\n", conf.Interface.PostDown)) } + if conf.Interface.TableOff { + output.WriteString("Table = off\n") + } for _, peer := range conf.Peers { output.WriteString("\n[Peer]\n") |