The wrong value is used to lookup the socket creation function in
net_families causing a segfault when using IPv6.
Signed-off-by: Christian Babeux <christian.babeux@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
* Index in the net_families array below. Please keep in sync!
*/
enum lttcomm_sock_domain {
* Index in the net_families array below. Please keep in sync!
*/
enum lttcomm_sock_domain {
- LTTCOMM_INET = 1,
- LTTCOMM_INET6 = 2,
+ LTTCOMM_INET = 0,
+ LTTCOMM_INET6 = 1,
};
struct lttcomm_sockaddr {
};
struct lttcomm_sockaddr {