Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VoIPController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3954,7 +3954,7 @@ Endpoint::Endpoint(int64_t id, uint16_t port, const IPv4Address& _address, const
udpPongCount=0;
}

Endpoint::Endpoint(int64_t id, uint16_t port, const NetworkAddress _address, const NetworkAddress _v6address, Type type, unsigned char peerTag[16]) : address(_address), v6address(_v6address){
Endpoint::Endpoint(int64_t id, uint16_t port, const NetworkAddress& _address, const NetworkAddress& _v6address, Type type, unsigned char peerTag[16]) : address(_address), v6address(_v6address){
this->id=id;
this->port=port;
this->type=type;
Expand Down
2 changes: 1 addition & 1 deletion VoIPController.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ namespace tgvoip{
};

Endpoint(int64_t id, uint16_t port, const IPv4Address& address, const IPv6Address& v6address, Type type, unsigned char* peerTag);
Endpoint(int64_t id, uint16_t port, const NetworkAddress address, const NetworkAddress v6address, Type type, unsigned char* peerTag);
Endpoint(int64_t id, uint16_t port, const NetworkAddress& address, const NetworkAddress& v6address, Type type, unsigned char* peerTag);
Endpoint();
~Endpoint();
const NetworkAddress& GetAddress() const;
Expand Down