summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-02-28 12:48:53 -0500
committerjim-p <jimp@pfsense.org>2012-02-28 12:57:46 -0500
commit0b29093bc42d5ed3fbcabacc8f09be99ac9dda7f (patch)
treebe65668afd371dc6a6b29dfba387e6632633c8f7 /etc
parentd63b89af70f6de1f3ab7be2321dbc2f48ce61513 (diff)
downloadpfsense-0b29093bc42d5ed3fbcabacc8f09be99ac9dda7f.zip
pfsense-0b29093bc42d5ed3fbcabacc8f09be99ac9dda7f.tar.gz
Show lagg protocol and member interfaces on Status > Interfaces. Implements #2242
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index a65db13..b4a41d0 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1272,6 +1272,12 @@ function get_interface_info($ifdescr) {
else
$ifinfo['ssid'] = $matches[1];
}
+ if (preg_match("/laggproto (.*)$/", $ici, $matches)) {
+ $ifinfo['laggproto'] = $matches[1];
+ }
+ if (preg_match("/laggport: (.*)$/", $ici, $matches)) {
+ $ifinfo['laggport'][] = $matches[1];
+ }
}
foreach($wifconfiginfo as $ici) {
$elements = preg_split("/[ ]+/i", $ici);
OpenPOWER on IntegriCloud