diff --git a/mininet/topo.py b/mininet/topo.py index efc16aa4cf041aa9329c3febd77022e366737afc..22d0c1f5a5f78cdb7b87c91cdcc9673158563b6f 100644 --- a/mininet/topo.py +++ b/mininet/topo.py @@ -242,7 +242,7 @@ def port( self, src, dst ): sport: optional source port (otherwise use lowest src port) returns: tuple (sport, dport), where sport = port on source switch leading to the destination switch - dport = port on destination switch leading to the source switch + dport = port on destination switch leading to the source switch Note that you can also look up ports using linkInfo()""" # A bit ugly and slow vs. single-link implementation ;-( ports = [ ( sport, entry[ 1 ] )