aboutsummaryrefslogtreecommitdiff
path: root/lib/stream-tcp.c
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2012-04-11 20:18:34 -0700
committerEthan Jackson <ethan@nicira.com>2012-04-12 00:43:22 -0700
commitf1936eb65178f796d26a8d265697af8c19dce8cd (patch)
tree05616ee0958f35adcb6822354a74905a89f659b1 /lib/stream-tcp.c
parentbceb55c8ba91af812bc61e1ebc54f367ad034157 (diff)
stream: By default disable probing on unix sockets.
There isn't a lot of value in sending inactivity probes on unix sockets. This patch changes the default to disable them. Signed-off-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'lib/stream-tcp.c')
-rw-r--r--lib/stream-tcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stream-tcp.c b/lib/stream-tcp.c
index c7a2ee2e..9762f88e 100644
--- a/lib/stream-tcp.c
+++ b/lib/stream-tcp.c
@@ -86,6 +86,7 @@ tcp_open(const char *name, char *suffix, struct stream **streamp, uint8_t dscp)
const struct stream_class tcp_stream_class = {
"tcp", /* name */
+ true, /* needs_probes */
tcp_open, /* open */
NULL, /* close */
NULL, /* connect */
@@ -137,6 +138,7 @@ ptcp_accept(int fd, const struct sockaddr *sa, size_t sa_len,
const struct pstream_class ptcp_pstream_class = {
"ptcp",
+ true,
ptcp_open,
NULL,
NULL,