diff options
author | Ermal <eri@pfsense.org> | 2011-07-28 20:52:08 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-07-28 20:56:38 +0000 |
commit | f720398561237cf0032d41f83c35e443d2acaf66 (patch) | |
tree | 4d11deb0e03443fa53277eefd3c7edc6b1b8c1bc /etc | |
parent | 6d1ae23c9e8966f55205a2522e079e9f392d56c2 (diff) | |
download | pfsense-f720398561237cf0032d41f83c35e443d2acaf66.zip pfsense-f720398561237cf0032d41f83c35e443d2acaf66.tar.gz |
Add an override for default interval to send icmp
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/gwlb.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index 6b54c07..e26adb1 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -160,6 +160,8 @@ EOD; $apingercfg = "target \"{$gateway['monitor']}\" {\n"; $apingercfg .= " description \"{$name}\"\n"; $apingercfg .= " srcip \"{$gwifip}\"\n"; + if (!empty($gateway['interval']) && intval($gateway['interval']) > 1) + $apingercfg .= " interval " . intval($gateway['interval']) . "s\n"; $alarms = ""; $alarmscfg = ""; $override = false; |