diff options
author | jim-p <jimp@pfsense.org> | 2012-02-28 12:48:53 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-02-28 12:57:46 -0500 |
commit | 0b29093bc42d5ed3fbcabacc8f09be99ac9dda7f (patch) | |
tree | be65668afd371dc6a6b29dfba387e6632633c8f7 /etc/inc/pfsense-utils.inc | |
parent | d63b89af70f6de1f3ab7be2321dbc2f48ce61513 (diff) | |
download | pfsense-0b29093bc42d5ed3fbcabacc8f09be99ac9dda7f.zip pfsense-0b29093bc42d5ed3fbcabacc8f09be99ac9dda7f.tar.gz |
Show lagg protocol and member interfaces on Status > Interfaces. Implements #2242
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 6 |
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); |