commit | d88fd824b7f0f1dd53fd962ffdfed82661a25b09 | [log] [tgz] |
---|---|---|
author | Emeric Brun <ebrun@exceliance.fr> | Fri May 18 18:30:29 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon May 21 22:22:39 2012 +0200 |
tree | c9039feaa2a4c8e868c78d3afe572fe5e69c7996 | |
parent | 21adb02d194a4190883133f8a7e3bac7d7812e0a [diff] [blame] |
MEDIUM: protocol: add a pointer to struct sock_ops to the listener struct The listener struct is now aware of the socket layer to use upon accept(). At the moment, only sock_raw is supported so this patch should not change anything.
diff --git a/src/cfgparse.c b/src/cfgparse.c index b3ae050..5bd2cfc 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c
@@ -265,6 +265,7 @@ l->fd = -1; l->addr = ss; + l->sock = &sock_raw; l->state = LI_INIT; if (ss.ss_family == AF_INET) {