Introduction
Introduction Statistics Contact Development Disclaimer Help
In case the listen port is set, set show port too, if this is unset. - geomyida…
git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri…
Log
Files
Refs
Tags
README
LICENSE
---
commit 7ca184a99e81c3549a8a3d82ec7a201686cf3040
parent fc1097d34bbf1c47b7f33275a8657d6d920e3a6a
Author: Christoph Lohmann <[email protected]>
Date: Thu, 30 Aug 2018 21:35:01 +0200
In case the listen port is set, set show port too, if this is unset.
Thanks to Evil_Bob I found this. And I approve this.
Diffstat:
M main.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/main.c b/main.c
@@ -376,7 +376,7 @@ main(int argc, char *argv[])
gr = NULL;
bindip = NULL;
ohost = NULL;
- sport = port;
+ sport = NULL;
v4 = 1;
v6 = 1;
usechroot = 0;
@@ -397,6 +397,8 @@ main(int argc, char *argv[])
break;
case 'p':
port = EARGF(usage());
+ if (sport == NULL)
+ sport = port;
break;
case 'l':
logfile = EARGF(usage());
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.