Fix wg reconnection problem after awg connection

This commit is contained in:
albexk authored and pokamest committed 2024-03-16 14:16:13 +00:00
1 parent 4dddf62e57
commit 3f0a3bcfa0
1 file changed
+5
+5
View File
@@ -562,6 +562,11 @@ func (device *Device) isAdvancedSecurityOn() bool {
func (device *Device) handlePostConfig(tempASecCfg *aSecCfgType) (err error) {
if !tempASecCfg.isSet {
// restore default values
MessageInitiationType = 1
MessageResponseType = 2
MessageCookieReplyType = 3
MessageTransportType = 4
return err
}