git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Inline trivial functions.
[sliver-openvswitch.git]
/
lib
/
odp-util.c
diff --git
a/lib/odp-util.c
b/lib/odp-util.c
index
9a4ea5e
..
af464a0
100644
(file)
--- a/
lib/odp-util.c
+++ b/
lib/odp-util.c
@@
-399,7
+399,7
@@
format_odp_hash_action(struct ds *ds, const struct ovs_action_hash *hash_act)
ds_put_format(ds, "hash(");
if (hash_act->hash_alg == OVS_HASH_ALG_L4) {
ds_put_format(ds, "hash(");
if (hash_act->hash_alg == OVS_HASH_ALG_L4) {
- ds_put_format(ds, "hash_l4(%"PRIu32")", hash_act->hash_b
ia
s);
+ ds_put_format(ds, "hash_l4(%"PRIu32")", hash_act->hash_b
asi
s);
} else {
ds_put_format(ds, "Unknown hash algorithm(%"PRIu32")",
hash_act->hash_alg);
} else {
ds_put_format(ds, "Unknown hash algorithm(%"PRIu32")",
hash_act->hash_alg);
@@
-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);
} 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;
ntohs(sctp_key->sctp_src), ntohs(sctp_key->sctp_dst));
}
break;