X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fodp-util.c;h=af464a0409508a354fe1e16135dce342bfa2d424;hb=HEAD;hp=8e95c9e964769d390f9d5e1675e52b0c522bc960;hpb=62ac1f20e9d0bbd53a418ec704022bcb2430d7ac;p=sliver-openvswitch.git diff --git a/lib/odp-util.c b/lib/odp-util.c index 8e95c9e96..af464a040 100644 --- a/lib/odp-util.c +++ b/lib/odp-util.c @@ -1319,7 +1319,7 @@ format_odp_key_attr(const struct nlattr *a, const struct nlattr *ma, } else { const struct ovs_key_sctp *sctp_key = nl_attr_get(a); - ds_put_format(ds, "(src=%"PRIu16",dst=%"PRIu16")", + ds_put_format(ds, "src=%"PRIu16",dst=%"PRIu16, ntohs(sctp_key->sctp_src), ntohs(sctp_key->sctp_dst)); } break;