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
ofpbuf: Introduce access api for base, data and size.
[sliver-openvswitch.git]
/
lib
/
lacp.c
diff --git
a/lib/lacp.c
b/lib/lacp.c
index
711d7ec
..
923c10f
100644
(file)
--- a/
lib/lacp.c
+++ b/
lib/lacp.c
@@
-181,7
+181,7
@@
parse_lacp_packet(const struct ofpbuf *b)
{
const struct lacp_pdu *pdu;
- pdu = ofpbuf_at(b, (uint8_t *)ofpbuf_get_l3(b) - (uint8_t *)
b->data
,
+ pdu = ofpbuf_at(b, (uint8_t *)ofpbuf_get_l3(b) - (uint8_t *)
ofpbuf_data(b)
,
LACP_PDU_LEN);
if (pdu && pdu->subtype == 1