mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2025-04-08 01:56:56 +02:00
Fix wg reconnection problem after awg connection
This commit is contained in:
parent
4dddf62e57
commit
3f0a3bcfa0
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue