Module: sip-router
Branch: master
Commit: 0b8cbbd8359a3c049b0da7a743de3b996412ab35
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0b8cbbd…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Wed Apr 24 14:26:09 2013 +0100
core: Fixed error where ";transport=wss" parameter was sometimes added to URIs
- It should always be ";transport=ws" with WebSocket
---
ip_addr.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/ip_addr.c b/ip_addr.c
index c071f83..7f7cf64 100644
--- a/ip_addr.c
+++ b/ip_addr.c
@@ -351,9 +351,8 @@ char* get_proto_name(unsigned int proto)
case PROTO_SCTP:
return "sctp";
case PROTO_WS:
- return "ws";
case PROTO_WSS:
- return "wss";
+ return "ws";
default:
return "unknown";
}