From 99c1e285030ff6c4f39da1b463b34a1fea01ad3f Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Thu, 24 Dec 2015 15:33:22 -0600 Subject: update comment for dpinger --- src/etc/inc/gwlb.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/etc/inc/gwlb.inc b/src/etc/inc/gwlb.inc index 3c5eaee..8225c25 100644 --- a/src/etc/inc/gwlb.inc +++ b/src/etc/inc/gwlb.inc @@ -156,8 +156,7 @@ function start_dpinger($gateway) { } /* - * Creates monitoring configuration file and - * adds appropriate static routes. + * Starts dpinger processes and adds appropriate static routes for monitor IPs */ function setup_gateways_monitor() { global $config, $g; @@ -190,7 +189,7 @@ function setup_gateways_monitor() { /* Interface ip is needed since dpinger will bind a socket to it. * However the config GUI should already have checked this and when - * PPoE is used the IP address is set to "dynamic". So using is_ipaddrv4 + * PPPoE is used the IP address is set to "dynamic". So using is_ipaddrv4 * or is_ipaddrv6 to identify packet type would be wrong, especially as * further checks (that can cope with the "dynamic" case) are present inside * the if block. So using $gateway['ipprotocol'] is the better option. -- cgit v1.1