Commit 41207a96 authored by Ahmad Samir's avatar Ahmad Samir Committed by Kurt Hindenburg
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.08.2
(cherry picked from commit ee7f7114)
parent 58d526f8
......@@ -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