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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112582
@ -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