Project

General

Profile

Bug #6223 » charon-pfkey-event-buffer.patch

Jim Pingle, 09/06/2016 03:17 PM

View differences:

src/etc/inc/vpn.inc
462 462
			$strongswanlog .= "\t\t\t" . $loglevel . "\n";
463 463
		}
464 464
	}
465

  
466
	$kernel_pfkey_events_buffer = (empty($config['ipsec']['kernel_pfkey_events_buffer'])) ? get_single_sysctl('net.inet.raw.recvspace') : $config['ipsec']['kernel_pfkey_events_buffer'];
467

  
465 468
	$strongswan = <<<EOD
466 469

  
467 470
# Automatically generated config file - DO NOT MODIFY. Changes will be overwritten.
......
510 513
			load = {$unity_enabled}
511 514
		}
512 515

  
516
		kernel-pfkey {
517
			events_buffer_size = {$kernel_pfkey_events_buffer}
518
		}
519

  
513 520
EOD;
514 521

  
515 522
	/* Find RADIUS servers designated for Mobile IPsec user auth */
(1-1/4)