Revision 7c748413
Added by Scott Ullrich over 19 years ago
etc/inc/pfsense-utils.inc | ||
---|---|---|
131 | 131 |
if($int <> "") $interface = $int; |
132 | 132 |
$int_family = preg_split("/[0-9]+/", $int); |
133 | 133 |
$options = strtolower(`/sbin/ifconfig {$interface} | grep options`); |
134 |
echo $interface . " "; |
|
134 | 135 |
$supported_ints = array('fxp'); |
135 | 136 |
if (in_array($int_family, $supported_ints)) |
136 | 137 |
mwexec("/sbin/ifconfig {$interface} link0"); |
137 |
|
|
138 | 138 |
if(stristr($options, "txcsum") == true) |
139 | 139 |
mwexec("/sbin/ifconfig {$interface} txcsum 2>/dev/null"); |
140 | 140 |
if(stristr($options, "rxcsum") == true) |
Also available in: Unified diff
echo out the interface we are working on