following match fields caused an exception at get_flow_stats command: ipv6_nd_sll, ipv6_nd_tll
this patch fixes this problem. Signed-off-by: TAKAHASHI Minoru <[email protected]> --- ryu/lib/ofctl_v1_2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ryu/lib/ofctl_v1_2.py b/ryu/lib/ofctl_v1_2.py index fae45ea..7534a12 100644 --- a/ryu/lib/ofctl_v1_2.py +++ b/ryu/lib/ofctl_v1_2.py @@ -443,6 +443,8 @@ def match_to_str(ofmatch): if key == 'dl_src' or key == 'dl_dst' or \ key == 'arp_sha' or key == 'arp_tha': value = match_eth_to_str(match_field.value, match_field.mask) + elif key == 'ipv6_nd_tll' or key == 'ipv6_nd_sll': + value = mac.haddr_to_str(match_field.value) elif key == 'nw_src' or key == 'nw_dst' or \ key == 'arp_spa' or key == 'arp_tpa': value = match_ip_to_str(match_field.value, match_field.mask) -- 1.7.10.4 ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
