Revision 8b1f5806
Added by Scott Ullrich over 18 years ago
etc/inc/util.inc | ||
---|---|---|
268 | 268 |
$upints = array(); |
269 | 269 |
/* get a list of virtual interface types */ |
270 | 270 |
if(!$vfaces) { |
271 |
$vfaces = array( |
|
272 |
'bridge.?*',
|
|
273 |
'ppp.?*',
|
|
274 |
'sl.?*',
|
|
275 |
'gif.?*',
|
|
276 |
'faith.?*',
|
|
277 |
'lo.?*',
|
|
278 |
'ng.?*',
|
|
279 |
'vlan.?*',
|
|
280 |
'pflog.?*',
|
|
281 |
'pfsync.?*',
|
|
282 |
'enc.?*',
|
|
283 |
'tun.?*',
|
|
284 |
'carp.?*'
|
|
285 |
);
|
|
271 |
$vfaces = array (
|
|
272 |
'bridge', |
|
273 |
'ppp', |
|
274 |
'sl', |
|
275 |
'gif', |
|
276 |
'faith', |
|
277 |
'lo', |
|
278 |
'ng', |
|
279 |
'vlan', |
|
280 |
'pflog', |
|
281 |
'pfsync', |
|
282 |
'enc', |
|
283 |
'tun', |
|
284 |
'carp' |
|
285 |
); |
|
286 | 286 |
} |
287 | 287 |
switch($mode) { |
288 | 288 |
case "active": |
Also available in: Unified diff
The earlier fix from today that fixed get_interfaces_with_gateways() created new problem where all interfaces would show up in assign_interfaces screen and other places. Instead of showing them all by default teach get_interfaces_with_gateways() how to extract the complete list.