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

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

解决方案来自:https://www.mail-archive.com/pox-dev@lists.noxrepo.org/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"?
posted @ 2018-05-31 16:25  ShaneSun  阅读(197)  评论(0编辑  收藏  举报