Commit ee7f7114 authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Fix the maximum port number in the SSH Manager plugin

It should be in the System Ports 0-1023 or User Ports 1024-49151 ranges.


BUG: 441889
FIXED-IN: 21.12
parent e693f2d7
......@@ -54,7 +54,9 @@ d(std::make_unique<SSHManagerTreeWidget::Private>())
const auto* hostnameValidator = new QRegularExpressionValidator(hostnameRegex, this);
const auto* portValidator = new QIntValidator(0, 9999);
// System and User ports see:
const auto* portValidator = new QIntValidator(0, 49151);
connect(ui->newSSHConfig, &QPushButton::clicked, this, &SSHManagerTreeWidget::showInfoPane);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment