Révision 397e40d5
Ajouté par Renato Botelho il y a plus de 9 ans
etc/inc/pfsense-utils.inc | ||
---|---|---|
1250 | 1250 |
/* DHCP? -> see if dhclient is up */ |
1251 | 1251 |
case "dhcp": |
1252 | 1252 |
/* see if dhclient is up */ |
1253 |
if (find_dhclient_process($ifinfo['if']) <> "")
|
|
1253 |
if (find_dhclient_process($ifinfo['if']) != 0)
|
|
1254 | 1254 |
$ifinfo['dhcplink'] = "up"; |
1255 | 1255 |
else |
1256 | 1256 |
$ifinfo['dhcplink'] = "down"; |
Formats disponibles : Unified diff
find_dhclient_process() returns an int, not string