intrig-unicamp / mininet-wifi

Emulator for Software-Defined Wireless Networks
https://mn-wifi.readthedocs.io/
Other
447 stars 241 forks source link

Fix to connectionsTo for bug with string representation #397

Closed awlane closed 3 years ago

awlane commented 3 years ago

Mininet-WIfi locally raised issues regarding using the "in" keyword to check against the name of interfaces, which does not seem to work as it appears to be checking against the TCIntf object itself instead. This fix makes it explicitly look at the string representation and solves the error.