From: Ales L. <le...@us...> - 2013-11-14 12:56:51
|
Update of /cvsroot/ipmitool/ipmitool/include/ipmitool In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv20398/include/ipmitool Modified Files: ipmi_intf.h Log Message: PA: 83 - Revised IPv6 patch Author: Holger Liebig Deduplicated socket connection shared among lan and lanplus. Allows IPv6 address and tries to pick correct scope ID. Index: ipmi_intf.h =================================================================== RCS file: /cvsroot/ipmitool/ipmitool/include/ipmitool/ipmi_intf.h,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** ipmi_intf.h 28 May 2013 07:38:55 -0000 1.38 --- ipmi_intf.h 14 Nov 2013 12:56:48 -0000 1.39 *************** *** 90,95 **** uint32_t timeout; ! struct sockaddr_in addr; socklen_t addrlen; /* --- 90,96 ---- uint32_t timeout; ! struct sockaddr_storage addr; socklen_t addrlen; + int ai_family; /* Protocol family for socket. */ /* *************** *** 212,214 **** --- 213,218 ---- void ipmi_cleanup(struct ipmi_intf * intf); + #if defined(IPMI_INTF_LAN) || defined (IPMI_INTF_LANPLUS) + int ipmi_intf_socket_connect(struct ipmi_intf * intf); + #endif #endif /* IPMI_INTF_H */ |