projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Generalize facet_put__() so that it is more useful.
[openvswitch]
/
lib
/
netlink.c
diff --git
a/lib/netlink.c
b/lib/netlink.c
index 48a52ee343172766e89eb6bfa9619502b7932967..725bba02f203324e679be9c3fe01f638f7f72318 100644
(file)
--- a/
lib/netlink.c
+++ b/
lib/netlink.c
@@
-582,6
+582,9
@@
nl_policy_parse(const struct ofpbuf *msg, size_t nla_offset,
assert(n_required > 0);
--n_required;
}
assert(n_required > 0);
--n_required;
}
+ if (attrs[type]) {
+ VLOG_DBG_RL(&rl, "%zu: duplicate attr %"PRIu16, offset, type);
+ }
attrs[type] = nla;
} else {
/* Skip attribute type that we don't care about. */
attrs[type] = nla;
} else {
/* Skip attribute type that we don't care about. */