Skip to content
Snippets Groups Projects
Commit 629a9162 authored by rswindell's avatar rswindell
Browse files

If the capture port is an emptry string, use default port for protocol.

parent dc930b94
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ function capture()
}
if(rows == undefined)
rows=24;
if(port == undefined) {
if(!port) {
switch(protocol) {
case "telnet": port=23; break;
// case "ssh": port=22; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment