summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-07-25 21:06:08 +0000
committerErmal Luçi <eri@pfsense.org>2008-07-25 21:06:08 +0000
commitfe2810195d825c7fb894454f4ac1fcfe5e13479d (patch)
tree5f2d0a6a6131240a0475a034cf5202d2830d0020
parent6c6a618ac4f1d9d3aba2a33ebca73fad93723afe (diff)
downloadpfsense-fe2810195d825c7fb894454f4ac1fcfe5e13479d.zip
pfsense-fe2810195d825c7fb894454f4ac1fcfe5e13479d.tar.gz
Actually lagg(4) uses physical interfaces as vlan doesn't have to do with configured one.
-rw-r--r--etc/inc/interfaces.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 7f8fd47..81cebad 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -281,14 +281,13 @@ function interface_lagg_configure(&$lagg) {
if (!count($members))
return -1;
- $checklist = get_configured_interface_list();
+ $checklist = get_interface_list();
$cmd = "";
foreach ($members as $member) {
if (!array_key_exists($member, $checklist))
continue;
- $realif = get_real_wan_interface($member);
- $realif = escapeshellarg($realif);
+ $realif = escapeshellarg($member);
/* make sure the parent interface is up */
mwexec("/sbin/ifconfig {$realif} up");
$cmd .= " laggport {$realif}";
OpenPOWER on IntegriCloud