fixed tabs vs spaces
This commit is contained in:
parent
2c916e6ad7
commit
6a0fb117e5
@ -77,10 +77,10 @@ if($debug){
|
||||
foreach ($gw_array as $gw => $gateway) {
|
||||
|
||||
//take the name from the $a_gateways list
|
||||
$name = $gateway["name"];
|
||||
|
||||
//$gateways_status is not guarranteed to contain the same number of gateways as $a_gateways
|
||||
|
||||
$name = $gateway["name"];
|
||||
|
||||
//$gateways_status is not guarranteed to contain the same number of gateways as $a_gateways
|
||||
|
||||
$monitor = $gw_statuses[$gw]["monitorip"];
|
||||
$source = $gw_statuses[$gw]["srcip"];
|
||||
$delay = $gw_statuses[$gw]["delay"];
|
||||
@ -120,7 +120,7 @@ foreach ($gw_array as $gw => $gateway) {
|
||||
printf("gateways,host=%s,interface=%s,gateway_name=%s monitor=\"%s\",source=\"%s\",defaultgw=%s,gwdescr=\"%s\",delay=%s,stddev=%s,loss=%s,status=\"%s\",substatus=\"%s\"\n",
|
||||
$host,
|
||||
$interface,
|
||||
$name,//name is required as it is possible to have 2 gateways on 1 interface. i.e. WAN_DHCP and WAN_DHCP6
|
||||
$name,//name is required as it is possible to have 2 gateways on 1 interface. i.e. WAN_DHCP and WAN_DHCP6
|
||||
$monitor,
|
||||
$source,
|
||||
$defaultgw,
|
||||
|
Loading…
x
Reference in New Issue
Block a user