diff options
author | Justin Pettit <jpettit@ovn.org> | 2015-10-25 13:19:22 -0700 |
---|---|---|
committer | Justin Pettit <jpettit@ovn.org> | 2015-11-24 12:48:44 -0800 |
commit | ac6d120f8e8ad1802b7d89dcf3c6e6d9d399cdf7 (patch) | |
tree | 64a0a7525de5fd27104c1899db0d584bc3541478 /ofproto/tunnel.c | |
parent | 30ef36c6dbc77f91ee63ccd177b2db236270ab66 (diff) | |
download | openvswitch-ac6d120f8e8ad1802b7d89dcf3c6e6d9d399cdf7.tar.gz |
packets: Change IPv6 functions to more closely resemble IPv4 ones.
Signed-off-by: Justin Petitt <jpettit@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ofproto/tunnel.c')
-rw-r--r-- | ofproto/tunnel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ofproto/tunnel.c b/ofproto/tunnel.c index 60e477376..1b92d0827 100644 --- a/ofproto/tunnel.c +++ b/ofproto/tunnel.c @@ -584,11 +584,11 @@ tnl_match_fmt(const struct tnl_match *match, struct ds *ds) OVS_REQ_RDLOCK(rwlock) { if (!match->ip_dst_flow) { - print_ipv6_mapped(ds, &match->ipv6_src); + ipv6_format_mapped(&match->ipv6_src, ds); ds_put_cstr(ds, "->"); - print_ipv6_mapped(ds, &match->ipv6_dst); + ipv6_format_mapped(&match->ipv6_dst, ds); } else if (!match->ip_src_flow) { - print_ipv6_mapped(ds, &match->ipv6_src); + ipv6_format_mapped(&match->ipv6_src, ds); ds_put_cstr(ds, "->flow"); } else { ds_put_cstr(ds, "flow->flow"); |