Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/tcf/services/discovery_udp.c')
-rw-r--r--agent/tcf/services/discovery_udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/tcf/services/discovery_udp.c b/agent/tcf/services/discovery_udp.c
index 1a4239b5..2f42270d 100644
--- a/agent/tcf/services/discovery_udp.c
+++ b/agent/tcf/services/discovery_udp.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2012 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007, 2016 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 which accompany this distribution.
@@ -372,7 +372,7 @@ static int send_packet(ip_ifc_info * ifc, struct sockaddr_in * addr) {
static int is_ip_peer(PeerServer * ps) {
const char * prot = peer_server_getprop(ps, "TransportName", NULL);
- return prot != NULL && (strcmp(prot, "TCP") == 0 || strcmp(prot, "SSL") == 0);
+ return prot != NULL && (strcmp(prot, "TCP") == 0 || strcmp(prot, "SSL") == 0 || strcmp(prot, "WS") == 0 || strcmp(prot, "WSS") == 0);
}
static int udp_send_peer_info(PeerServer * ps, void * arg) {

Back to the top