mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[ntcore] SetServerTeam: Use Systemcore name/addresses (#8314)
This commit is contained in:
@@ -289,9 +289,8 @@ void Downloader::ThreadMain() {
|
||||
if (auto team =
|
||||
wpi::util::parse_integer<unsigned int>(m_serverTeam, 10)) {
|
||||
// team number
|
||||
session = std::make_unique<sftp::Session>(
|
||||
fmt::format("roborio-{}-frc.local", team.value()), 22,
|
||||
m_username, m_password);
|
||||
session = std::make_unique<sftp::Session>("robot.local", 22,
|
||||
m_username, m_password);
|
||||
} else {
|
||||
session = std::make_unique<sftp::Session>(m_serverTeam, 22,
|
||||
m_username, m_password);
|
||||
|
||||
Reference in New Issue
Block a user