commit | 0bc0c2426c748f8459c250b60ee701cdc0ecc517 | [log] [tgz] |
---|---|---|
author | Aman Gupta <aman@tmm1.net> | Mon Apr 02 18:57:55 2012 -0700 |
committer | Willy Tarreau <w@1wt.eu> | Sat Apr 07 09:17:26 2012 +0200 |
tree | 41f945f94468adf1f63ea5fb1974b8c56575d056 | |
parent | 64559c565f099dc15a6e4c21051861e42514a0ab [diff] [blame] |
MINOR: Add TO/FROM_SET flags to struct stream_interface [WT: it will make sense to remove SN_FRT_ADDR_SET and to use these flags everywhere instead ]
diff --git a/src/proto_tcp.c b/src/proto_tcp.c index 6324196..39ef26b 100644 --- a/src/proto_tcp.c +++ b/src/proto_tcp.c
@@ -443,6 +443,7 @@ if (getsockname(fd, (struct sockaddr *)&si->addr.from, &addrlen) == -1) { Warning("Cannot get source address for logging.\n"); } + si->flags |= SI_FL_FROM_SET; } fdtab[fd].owner = si;