mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2026-10-16 22:44:16 +03:00
Fix wg reconnection problem after awg connection
This commit is contained in:
1 parent
4dddf62e57
commit
3f0a3bcfa0
1 file changed
+5
@@ -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