Skip to content

Commit 0635688

Browse files
committed
Fix address construction in IppDiscovery
1 parent cae661a commit 0635688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ippdiscovery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ std::string ip4str(uint32_t ip)
4242
Url make_addr(const std::string& proto, uint16_t defaultPort, uint16_t port,
4343
const std::string& ip, const std::string& rp)
4444
{
45-
Url addr(proto, ip, port != defaultPort ? port : 0, rp);
45+
Url addr(proto, ip, port != defaultPort ? port : 0, "/"+rp);
4646
return addr;
4747
}
4848

0 commit comments

Comments
 (0)