Add a fix to the Shortest-Path computation algorithm for the corner
case when computing a path from/to the same DPID.
In that case, we just return a list of "src" and "dest".

NOTE: The return value will change in the future to return
a single hop/entry instead of two. Currently, we need both entries
to capture the source and destination ports.
1 file changed