Project

General

Profile

« Previous | Next » 

Revision bf8aab82

Added by Ermal LUÇI almost 11 years ago

Correct this so the dpdaction is created properly as restart

View differences:

etc/inc/vpn.inc
562 562
				}
563 563

  
564 564
				if ($ph1ent['dpd_delay'] && $ph1ent['dpd_maxfail']) {
565
					if ($passive == "start")
565
					if ($passive == "route")
566 566
						$dpdline = "dpdaction = restart";
567 567
					else
568 568
						$dpdline = "dpdaction = clear";

Also available in: Unified diff