ndn-link-control-helper does not seem to control the desired link
When I use this helper in my experiment to simulate link failure, like "Simulator::Schedule(Seconds(10.0), ndn::LinkControlHelper::FailLinkByName, "R4", "R2");" I find this would fail all the link connected to R4, not just the link between R2 and R4. （The topo and result are shown in the attachment, I use broadcast strategy）
#2 Updated by 鹏飞 靳 almost 4 years ago
The test code is in the attachment. I modified ndn-simple.cpp. At line 68-76 are the link control code. When I run it, failure the link between 2-4 and 4-2 shows different result. And the topo don`t have link 2-3, but when i fail the link between 2-3 and 3-2, I got different result too.
So i guess the link control function may failure all the link connected to the first node.
#4 Updated by Spyros Mastorakis almost 4 years ago
- Status changed from In Progress to Code review
- % Done changed from 0 to 90
I am sorry for the delay. There was indeed a bug in link control helper that was fixed.
Here is the commit fixing the bug:
Thank you for reporting it!