From bf9aea6bfa11a8dc0bbebda449b523a672f48f8e Mon Sep 17 00:00:00 2001 From: Mike Rostermund Date: Wed, 23 Sep 2015 18:30:41 +0200 Subject: [PATCH] Shorten interface name in top interface widget --- html/includes/common/top-interfaces.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/common/top-interfaces.inc.php b/html/includes/common/top-interfaces.inc.php index 07ebabf55e..cb9e16720b 100644 --- a/html/includes/common/top-interfaces.inc.php +++ b/html/includes/common/top-interfaces.inc.php @@ -147,7 +147,7 @@ else { $common_output[] = ' '.generate_device_link($result, shorthost($result['hostname'])).' - '.generate_port_link($result).' + '.generate_port_link($result, shorten_interface_type($result['ifName'])).' '.generate_port_link($result, generate_port_thumbnail($result)).' ';