mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Corrected comment character
This commit is contained in:
@@ -32,7 +32,7 @@ function external_exec($command)
|
|||||||
|
|
||||||
function shorthost($hostname, $len=12)
|
function shorthost($hostname, $len=12)
|
||||||
{
|
{
|
||||||
# IP addresses should not be shortened
|
// IP addresses should not be shortened
|
||||||
if (filter_var($hostname, FILTER_VALIDATE_IP))
|
if (filter_var($hostname, FILTER_VALIDATE_IP))
|
||||||
return $hostname;
|
return $hostname;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user