Skip to content

Commit

Permalink
dev 1 trigger random loss
Browse files Browse the repository at this point in the history
  • Loading branch information
SoonyangZhang committed Mar 20, 2023
1 parent 3cb5b98 commit 660533b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scratch/webrtc-static.cc
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ static NodeContainer BuildP2PTopo(TriggerRandomLoss *trigger,
address.SetBase (nodeip.c_str(), "255.255.255.0");
address.Assign (devices);
if(trigger){
trigger->RegisterDevice(devices.Get(0));
trigger->RegisterDevice(devices.Get(1));
}
if(changer){
changer->RegisterDevice(devices.Get(0));
Expand Down

0 comments on commit 660533b

Please sign in to comment.