소스 검색

Add a dpd_action field, set its default to restart

Stanislav Paskalev 5 년 전
부모
커밋
f4d044b668
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      backend/ipsec/handle_charon.go

+ 1 - 0
backend/ipsec/handle_charon.go

@@ -161,6 +161,7 @@ func (charon *CharonIKEDaemon) LoadConnection(localLease, remoteLease *subnet.Le
 		ESPProposals: []string{charon.espProposal},
 		StartAction:  "start",
 		CloseAction:  "trap",
+		DpdAction:    "restart",
 		Mode:         "tunnel",
 		ReqID:        reqID,
 		//		RekeyTime:     rekeyTime,