Project

General

Profile

« Previous | Next » 

Revision 43a22ee2

Added by Jim Pingle almost 15 years ago

This one looks safe, and might improve speed. Add it back.

View differences:

etc/inc/interfaces.inc
3238 3238
	if (!empty($config['interfaces'][$friendly])) {
3239 3239
		if (substr($friendly, 0, 5) ==  "ovpnc")
3240 3240
			return true;
3241
		$ifname = $config['interfaces'][$friendly];
3241
		$ifname = &$config['interfaces'][$friendly];
3242 3242
		switch ($ifname['ipaddr']) {
3243 3243
			case "dhcp":
3244 3244
			case "carpdev-dhcp":

Also available in: Unified diff