summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
01d0a63)
Signed-off-by: Christian Babeux <christian.babeux@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
int val = 1, ret;
/* Create server socket */
int val = 1, ret;
/* Create server socket */
- if ((sock->fd = socket(PF_INET, type, proto)) < 0) {
+ if ((sock->fd = socket(PF_INET6, type, proto)) < 0) {
PERROR("socket inet6");
goto error;
}
PERROR("socket inet6");
goto error;
}