noxrepo / pox

The POX network software platform
https://noxrepo.github.io/pox-doc/html/
Apache License 2.0
619 stars 470 forks source link

Fix issue related to python3 conversion #275

Closed Ephvuln closed 2 years ago

Ephvuln commented 2 years ago

Fix issue for python3 version at unsupported operand type at addition between int and str.

data variable has the type bytearray in python3. Referencing 1 element from it defaults to int.

MurphyMc commented 2 years ago

Thanks for the patch, though this was already fixed in my fork (287512e8ebc511f05277c29e6f4a66037bb4c864) and just needs to get pulled into the main repo.