From b3875624ba409160da6ad9292b5ec1e1ec5f2bef Mon Sep 17 00:00:00 2001
From: Martin Sustrik <sustrik@250bpm.com>
Date: Fri, 1 Jun 2012 15:33:43 +0200
Subject: Minor fixed to UDP transport.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
---
 src/socket_base.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/socket_base.cpp b/src/socket_base.cpp
index 389bfbc..b424a5e 100644
--- a/src/socket_base.cpp
+++ b/src/socket_base.cpp
@@ -541,7 +541,7 @@ int xs::socket_base_t::connect (const char *addr_)
     // PGM does not support subscription forwarding; ask for all data to be
     // sent to this pipe.
     bool icanhasall = false;
-    if (protocol == "pgm" || protocol == "epgm")
+    if (protocol == "pgm" || protocol == "epgm" || protocol == "udp")
         icanhasall = true;
 
     //  Attach local end of the pipe to the socket object.
-- 
cgit v1.2.3