Bug 1526477 - Part 1: Fix typo causing us to go into the controlled role when interoping with an ice-lite endpoint. r=mjf a=lizzard
authorByron Campen [:bwc] <docfaraday@gmail.com>
Mon, 11 Feb 2019 16:10:13 +0000
changeset 516230 d380e82c33fb1a719acecd1df968aea3b63c7de1
parent 516229 7e003748ec6260407407f96076f892ad20ad07cf
child 516231 fb041ef6b3bfbb139f6603f8abef7bae6a4959b4
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmjf, lizzard
bugs1526477
milestone66.0
Bug 1526477 - Part 1: Fix typo causing us to go into the controlled role when interoping with an ice-lite endpoint. r=mjf a=lizzard Depends on D19232 Differential Revision: https://phabricator.services.mozilla.com/D19233
media/mtransport/third_party/nICEr/src/ice/ice_parser.c
--- a/media/mtransport/third_party/nICEr/src/ice/ice_parser.c
+++ b/media/mtransport/third_party/nICEr/src/ice/ice_parser.c
@@ -487,17 +487,17 @@ nr_ice_peer_ctx_parse_global_attributes(
 
                 component_id = 0;  /* prevent free */
                 RFREE(connection_address);
                 connection_address = 0;  /* prevent free */
             }
         }
         else if (!strncasecmp(str, "ice-lite", 8)) {
             pctx->peer_lite = 1;
-            pctx->controlling = 0;
+            pctx->controlling = 1;
 
             fast_forward(&str, 8);
         }
         else if (!strncasecmp(str, "ice-mismatch", 12)) {
             pctx->peer_ice_mismatch = 1;
 
             fast_forward(&str, 12);
         }