Sfoglia il codice sorgente

Add a dpd_action field, set its default to restart

Stanislav Paskalev 5 anni fa
parent
commit
f4d044b668
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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,