Hi, everyoneI want to match netmask,but it will occur errorThis is my code below case1: match = of.ofp_match.from_packet(packet)if match.nw_dst == "192.168.11.0/24": print 'It's Work' The Error :AttributeError: 'str' object has no attribute '__cmp__' case2: m = nx.nx_match()if m.of_ip_src == "192.168.11.0/24": print m.of_ip_src#But print None ..
What should I do to match src_ip in the subnet?How to solve this Problem? I will appreciate your reply !Thanks !