From 660533b8b1ba5ea655a65ebeb9d223f2cf828e67 Mon Sep 17 00:00:00 2001 From: SoonyangZhang <865678017peiwen@gmail.com> Date: Mon, 20 Mar 2023 21:02:12 +0800 Subject: [PATCH] dev 1 trigger random loss --- scratch/webrtc-static.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scratch/webrtc-static.cc b/scratch/webrtc-static.cc index 53bd22e..b8cb4c7 100644 --- a/scratch/webrtc-static.cc +++ b/scratch/webrtc-static.cc @@ -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));