mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add traceroute -I flag (#14667)
This commit is contained in:
@@ -140,7 +140,7 @@ class ConnectivityHelper
|
||||
|
||||
public function traceroute(): array
|
||||
{
|
||||
$command = [Config::get('traceroute', 'traceroute'), '-q', '1', '-w', '1', $this->target];
|
||||
$command = [Config::get('traceroute', 'traceroute'), '-q', '1', '-w', '1', '-I', $this->target];
|
||||
if ($this->ipFamily() == 'ipv6') {
|
||||
$command[] = '-6';
|
||||
}
|
||||
|
Reference in New Issue
Block a user