Skip to content

Commit

Permalink
Fix wg reconnection problem after awg connection
Browse files Browse the repository at this point in the history
  • Loading branch information
albexk authored and pokamest committed Mar 16, 2024
1 parent 4dddf62 commit 3f0a3bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions device/device.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 3f0a3bc

Please sign in to comment.