Project

General

Profile

« Previous | Next » 

Revision f2a5b5e4

Added by Chris Buechler over 16 years ago

Fix display of DHCP status on Status -> Interfaces

View differences:

etc/inc/pfsense-utils.inc
3048 3048
	switch ($config['interfaces'][$if]['ipaddr']) {
3049 3049
	/* DHCP? -> see if dhclient is up */
3050 3050
	case "dhcp":
3051
		/* see if dhclient is up */
3052
		if (is_dhcp_running($ifinfo['if']) == true)
3053
			$ifinfo['dhcplink'] = "up";
3054
		else
3055
			$ifinfo['dhcplink'] = "down";
3056

  
3057
		break;
3051 3058
	case "carpdev-dhcp":
3052 3059
		/* see if dhclient is up */
3053 3060
		if (is_dhcp_running($ifinfo['if']) == true)
......
3502 3509
}
3503 3510

  
3504 3511

  
3505
?>
3512
?>

Also available in: Unified diff