diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-15 20:38:00 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-15 20:38:00 +0000 |
commit | 1c2497942d5923331d8e735a7f79a851197efb01 (patch) | |
tree | 262d6651f7dc01d0a1eff0b37f4d84baabed7338 /etc | |
parent | bf27e41e96ed31bcb2a757366905f1962dd307b8 (diff) | |
download | pfsense-1c2497942d5923331d8e735a7f79a851197efb01.zip pfsense-1c2497942d5923331d8e735a7f79a851197efb01.tar.gz |
translate wan, lan, opt -> real interface if needed
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 680af3c..1eb025c 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -123,6 +123,9 @@ function enable_hardware_offloading($interface) { global $g; $options = strtolower(`/sbin/ifconfig {$interface} | grep options`); if($g['booting']) { + /* translate wan, lan, opt -> real interface if needed */ + $int = filter_translate_type_to_real_interface($interface); + if($int <> "") $interface = $int; $supported_ints = array('fxp'); foreach($supported_ints as $int) { if(stristr($interface,$int) != false) { |