Project

General

Profile

« Previous | Next » 

Revision 99c1e285

Added by Chris Buechler over 9 years ago

update comment for dpinger

View differences:

src/etc/inc/gwlb.inc
156 156
}
157 157

  
158 158
/*
159
 * Creates monitoring configuration file and
160
 * adds appropriate static routes.
159
 * Starts dpinger processes and adds appropriate static routes for monitor IPs
161 160
 */
162 161
function setup_gateways_monitor() {
163 162
	global $config, $g;
......
190 189

  
191 190
		/* Interface ip is needed since dpinger will bind a socket to it.
192 191
		 * However the config GUI should already have checked this and when
193
		 * PPoE is used the IP address is set to "dynamic". So using is_ipaddrv4
192
		 * PPPoE is used the IP address is set to "dynamic". So using is_ipaddrv4
194 193
		 * or is_ipaddrv6 to identify packet type would be wrong, especially as
195 194
		 * further checks (that can cope with the "dynamic" case) are present inside
196 195
		 * the if block. So using $gateway['ipprotocol'] is the better option.

Also available in: Unified diff