POX下发流表时无法通过ip来match的问题

将libopenflow_01.py的1075行的if (type(ipOrIPAndBits的if改为elif,即可

解决方案来自:https://www.mail-archive.com/[email protected]/msg01222.html

On first glance... I think this may be a bug in libopenflow_01.py.  I'm pretty 
surprised it hasn't been noticed until now since it appears to be very old.
Can you try changing libopenflow_01.py around like line 1075 in 
_make_addr()("if (type(ipOrIPAndBits...") from an "if" to an "elif"?

猜你喜欢

转载自www.cnblogs.com/ShaneSun/p/9117392.html