diff options
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 8528bc3..51a87e8 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -3378,7 +3378,22 @@ function is_dhcp_server_enabled() { function get_interfaces_with_gateway() { global $config; $ints = array(); - $ifdescrs = get_interface_list(); + $vfaces = array( + 'bridge.?*', + 'ppp.?*', + 'sl.?*', + 'gif.?*', + 'faith.?*', + 'lo.?*', + 'ng.?*', + 'vlan.?*', + 'pflog.?*', + 'pfsync.?*', + 'enc.?*', + 'tun.?*', + 'carp.?*' + ); + $ifdescrs = get_interface_list("active","physical",$vfaces); /* loop interfaces, check config for outbound */ foreach ($ifdescrs as $ifdescr => $ifname) { |