Merge pull request #500 from inphobia/nn_25gbps

pretty format 2.5gbps speeds
This commit is contained in:
Jeroen van Ingen Schenau
2023-08-29 10:31:18 +02:00
committed by GitHub

View File

@@ -3779,6 +3779,7 @@ Makes human friendly speed ratings using C<%SPEED_MAP>.
'1000000000' => '1.0 Gbps',
'2000000000' => '2.0 Gbps',
'2488000000' => 'OC-48',
'2500000000' => '2.5 Gbps',
)
Note: high speed interfaces (usually 1 Gbps or faster) have their link
@@ -3826,6 +3827,7 @@ munge_highspeed(). SNMP::Info can return speeds up to terabit levels this way.
'1000000000' => '1.0 Gbps',
'2000000000' => '2.0 Gbps',
'2488000000' => 'OC-48',
'2500000000' => '2.5 Gbps',
);
sub munge_speed {