mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-01 01:52:18 +01:00
Use underscore instead of colon for host/port.
- munin plugin only supports a-zA-Z0-9_ so colon will probably give us problems.
This commit is contained in:
parent
780b0eff13
commit
446d1c58ee
@ -378,7 +378,7 @@ function shortname ($url)
|
||||
return false;
|
||||
|
||||
if (array_key_exists('port', $url) === TRUE && $url['port'] !== NULL)
|
||||
return $url['host'] . ':' . $url['port'];
|
||||
return $url['host'] . '_' . $url['port'];
|
||||
|
||||
return $url['host'];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user