commit | 89aa276e2e9e54953efffcaaba402e0b1d62a155 | [log] [tgz] |
---|---|---|
author | guoweis@webrtc.org <guoweis@webrtc.org> | Thu Jan 15 18:52:36 2015 +0000 |
committer | guoweis@webrtc.org <guoweis@webrtc.org> | Thu Jan 15 18:52:36 2015 +0000 |
tree | 9857612559dfa629011408e1abb65d0151589770 | |
parent | d82f55d2a73da925d4160e3d1430f79f76170992 [diff] |
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
diff --git a/webrtc/p2p/base/p2ptransportchannel.cc b/webrtc/p2p/base/p2ptransportchannel.cc index 7b16a0c..9afaca6 100644 --- a/webrtc/p2p/base/p2ptransportchannel.cc +++ b/webrtc/p2p/base/p2ptransportchannel.cc
@@ -516,7 +516,7 @@ rtc::ToString<uint32>(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) {