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:48:53 -0500 |
commit | ce3da5d20f2e9259d0c85c5678695d6c0e49cd52 (patch) | |
tree | 11352e7ec94064b405204ee55b5f9b56c6b03791 /etc | |
parent | d17263ec6ac987c164184618e033473cd408307a (diff) | |
download | pfsense-ce3da5d20f2e9259d0c85c5678695d6c0e49cd52.zip pfsense-ce3da5d20f2e9259d0c85c5678695d6c0e49cd52.tar.gz |
Show lagg protocol and member interfaces on Status > Interfaces. Implements #2242
Diffstat (limited to 'etc')
-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 5fcc04a..a4e0771 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1260,6 +1260,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); |