ssnetsim / supersim

A flexible event-driven cycle-accurate network simulator
Apache License 2.0
8 stars 1 forks source link

Don't assume all routers have the same radix #5

Closed knrafto closed 4 years ago

knrafto commented 4 years ago

https://github.com/ssnetsim/supersim/blob/11fc7a4c30b9bf8cb0a3450c8ace3fab1de398b9/src/main.cc#L63

This has the side-effect of crashing on a network with no routers (which is useful for testing).