conncheck: update peer-reflexive priority of the selected pair
authorFabrice Bellet <fabrice@bellet.info>
Sat, 8 Feb 2020 21:02:18 +0000 (22:02 +0100)
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>
Mon, 10 Feb 2020 20:49:45 +0000 (20:49 +0000)
agent/conncheck.c

index d3d03ec..e5fbb81 100644 (file)
@@ -2047,6 +2047,7 @@ static gboolean priv_update_selected_pair (NiceAgent *agent, NiceComponent *comp
     cpair.local = pair->local;
     cpair.remote = pair->remote;
     cpair.priority = pair->priority;
+    cpair.prflx_priority = pair->prflx_priority;
     /* cpair.keepalive is not used by nice_component_update_selected_pair() */
 
     nice_component_update_selected_pair (agent, component, &cpair);