Reputation: 291
Could anyone please tell me why I get this message after running my program for building topology in ns3.24?
assert failed. cond="c.GetN () == 2", file=../src/point-to-point/helper/point-to-point-helper.cc, line=220
terminate called without an active exception
Thank you.
Upvotes: 1
Views: 1566
Reputation: 11
Try to check the nodes number, to install the pointTopoint it must be done in two nodes. Like below:
nodes.Create(2)
If you are trying to install in a different numbers of nodes it can cause this error.
BR,
Upvotes: 1