Thanks for the review, pushed to master, Jarno
On Apr 14, 2014, at 7:25 PM, YAMAMOTO Takashi <yamam...@valinux.co.jp> wrote: >> Signed-off-by: Jarno Rajahalme <jrajaha...@nicira.com> > > Reviewed-by: YAMAMOTO Takashi <yamam...@valinux.co.jp> > >> --- >> lib/odp-util.c | 2 +- >> tests/odp.at | 1 + >> 2 files changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/lib/odp-util.c b/lib/odp-util.c >> index b58f1c0..10bf925 100644 >> --- a/lib/odp-util.c >> +++ b/lib/odp-util.c >> @@ -1308,7 +1308,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; >> diff --git a/tests/odp.at b/tests/odp.at >> index 34bc187..26f561f 100644 >> --- a/tests/odp.at >> +++ b/tests/odp.at >> @@ -242,6 +242,7 @@ set(eth_type(0x1234)) >> set(ipv4(src=35.8.2.41,dst=172.16.0.20,proto=5,tos=0x80,ttl=128,frag=no)) >> set(tcp(src=80,dst=8080)) >> set(udp(src=81,dst=6632)) >> +set(sctp(src=82,dst=6633)) >> set(icmp(type=1,code=2)) >> set(ipv6(src=::1,dst=::2,label=0,proto=10,tclass=0x70,hlimit=128,frag=no)) >> set(icmpv6(type=1,code=2)) >> -- >> 1.7.10.4 >> >> _______________________________________________ >> dev mailing list >> dev@openvswitch.org >> http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev