Revert "One more $if must change to $ifdescr"
This reverts commit a045b3270f13f39908beb875ede4e75f565e12e9.
Not correct.
One more $if must change to $ifdescr
Merge branch 'master' of rcs.pfsense.org:pfsense/mainline
Some $config variable referencing $if but $if is not defined.
Change $if to $ifdescr to restore normal functionality.
Fixes #374. Actually reload teh dhcpleases utility whenever the hosts files is regenerated to avoid problems.
Silence is better for this command.
Add some missing code to convert_real_interface_to_friendly_interface_name. There is no need to go through all the interfaces just to find out if an interface has a gateway or not and is the same for finding the real interface name of a friendly interface. Also while here do not rely on stristr for finding if an interface exists rather do a proper matching on interface name otherwise wrong results might come up.
Return the gateway status only for gateways apinger knows about instead of assuming that all gateways are down, which might give consecuences. Also prepend 'filter_' to the function used to kill states for down gateways in filter.inc to be consistent.
Mute this command so people do not think something went wrong.
Correct ifconfig syntax
View revisions
Also available in: Atom