diff options
author | smos <seth.mos@dds.nl> | 2012-07-18 09:35:32 +0200 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2012-07-18 09:36:03 +0200 |
commit | d2cb157f6f4e1f52a2c5dfb650bab712714ba65f (patch) | |
tree | 4f3a578b835dc6cdd05604a7108f4810032c11e5 /usr/local | |
parent | 206d577719fbfe1c2a17ad55e79eb90058afdec3 (diff) | |
download | pfsense-d2cb157f6f4e1f52a2c5dfb650bab712714ba65f.zip pfsense-d2cb157f6f4e1f52a2c5dfb650bab712714ba65f.tar.gz |
Tack the IPsec interface onto the $ifdescrs array so the widget will display it.
Redmine ticket #2546
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/widgets/widgets/traffic_graphs.widget.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/widgets/widgets/traffic_graphs.widget.php b/usr/local/www/widgets/widgets/traffic_graphs.widget.php index c4ffbd3..4ca730b 100644 --- a/usr/local/www/widgets/widgets/traffic_graphs.widget.php +++ b/usr/local/www/widgets/widgets/traffic_graphs.widget.php @@ -52,6 +52,8 @@ if (!is_array($a_config["shown"]["item"])) { } $ifdescrs = get_configured_interface_with_descr(); +if (isset($config['ipsec']['enable'])) + $ifdescrs['enc0'] = "IPsec"; if ($_POST) { if (isset($_POST["refreshinterval"])) { |