aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--conf/parser.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/parser.go b/conf/parser.go
index 20010885..bd08ee6c 100644
--- a/conf/parser.go
+++ b/conf/parser.go
@@ -378,6 +378,10 @@ func FromUAPI(reader io.Reader, existingConfig *Config) (*Config, error) {
DNS: existingConfig.Interface.DNS,
DNSSearch: existingConfig.Interface.DNSSearch,
MTU: existingConfig.Interface.MTU,
+ PreUp: existingConfig.Interface.PreUp,
+ PostUp: existingConfig.Interface.PostUp,
+ PreDown: existingConfig.Interface.PreDown,
+ PostDown: existingConfig.Interface.PostDown,
},
}
var peer *Peer