From 89aa276e2e9e54953efffcaaba402e0b1d62a155 Mon Sep 17 00:00:00 2001 From: "guoweis@webrtc.org" Date: Thu, 15 Jan 2015 18:52:36 +0000 Subject: [PATCH] Fix a case where empty candidate id is used BUG=4161 R=juberti@webrtc.org Committed: https://code.google.com/p/webrtc/source/detail?r=8071 Review URL: https://webrtc-codereview.appspot.com/35749004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@8079 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/p2p/base/p2ptransportchannel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/p2p/base/p2ptransportchannel.cc b/webrtc/p2p/base/p2ptransportchannel.cc index 7b16a0c148..9afaca6d93 100644 --- a/webrtc/p2p/base/p2ptransportchannel.cc +++ b/webrtc/p2p/base/p2ptransportchannel.cc @@ -516,7 +516,7 @@ void P2PTransportChannel::OnUnknownAddress( rtc::ToString(rtc::ComputeCrc32(new_remote_candidate.id()))); new_remote_candidate.set_priority(new_remote_candidate.GetPriority( - ICE_TYPE_PREFERENCE_SRFLX, port->Network()->preference(), 0)); + ICE_TYPE_PREFERENCE_PRFLX, port->Network()->preference(), 0)); } if (port->IceProtocol() == ICEPROTO_RFC5245) {