Since Rancid 3, the separator is ; (#11688)

This commit is contained in:
dupondje
2020-09-09 16:10:36 +02:00
committed by GitHub
parent 7f0b483580
commit ba699be009

View File

@@ -57,7 +57,7 @@ foreach (dbFetchRows("SELECT `hostname`,`os`,`disabled`,`status` FROM `devices`
if ($devices['disabled']) {
$status = "down";
}
echo $devices['hostname'] . ':' . $rancid_map[$devices['os']] . ':' . $status . PHP_EOL;
echo $devices['hostname'] . ';' . $rancid_map[$devices['os']] . ';' . $status . PHP_EOL;
}
}
echo "# EOF " . PHP_EOL;