mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue