Ticket #111 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

Liana ip to str is broken

Reported by: edsiper Owned by: zeus
Priority: major Milestone: 0.30
Component: Unspecified Version:
Keywords: Cc:

Description

Logger plugin is not working because is not able to get the IP address converted to string format, the Liana function _mkp_network_io_ip_str() is failing inside the getpeername() call:

if(getpeername(socket_fd, addr, &len) == -1 ) {

PLUGIN_TRACE("[FD %i] Can't get addr for this socket", socket_fd);
mk_api->mem_free(ip);
return NULL;

}

the error is "invalid address"

Change History

comment:1 Changed 4 months ago by zeus

Fixed, it was a problem dealing with the return error and the sockaddr var

commit: 72a9a427bf5a8e646a8c630def85f3c94aed2db5

comment:2 Changed 4 months ago by zeus

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.