mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2026-05-26 13:50:38 +00:00
Fix wg reconnection problem after awg connection
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user