Skip to content

Commit

Permalink
fix tcp with no port defined
Browse files Browse the repository at this point in the history
  • Loading branch information
hsd-dev committed Jan 30, 2024
1 parent 7d4df9c commit c4542b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pf_driver/src/pf/pfsdp_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ void PFSDPBase::request_handle_tcp(const std::string& port, const std::string& p
{
query["port"] = port;
}
else
else if (info_->port.compare("0") != 0)
{
query["port"] = info_->port;
}
Expand Down

0 comments on commit c4542b8

Please sign in to comment.