fix reverse logic in "connect" command that cause port specifications to be ignored.
MFC after: 1 week
This commit is contained in:
parent
07515f29ce
commit
2e34a0f429
@ -262,9 +262,9 @@ setpeer(argc, argv)
|
||||
return;
|
||||
}
|
||||
if (argc == 3)
|
||||
setpeer0(argv[1], NULL);
|
||||
else
|
||||
setpeer0(argv[1], argv[2]);
|
||||
else
|
||||
setpeer0(argv[1], NULL);
|
||||
}
|
||||
|
||||
struct modes {
|
||||
|
Loading…
Reference in New Issue
Block a user