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
lib/ofpbuf: Compact
[sliver-openvswitch.git]
/
tests
/
test-stp.c
diff --git
a/tests/test-stp.c
b/tests/test-stp.c
index
be1b395
..
9d17745
100644
(file)
--- a/
tests/test-stp.c
+++ b/
tests/test-stp.c
@@
-92,7
+92,7
@@
send_bpdu(struct ofpbuf *pkt, int port_no, void *b_)
assert(port_no < b->n_ports);
lan = b->ports[port_no];
if (lan) {
assert(port_no < b->n_ports);
lan = b->ports[port_no];
if (lan) {
- const void *data =
pkt->l3
;
+ const void *data =
ofpbuf_get_l3(pkt)
;
size_t size = (char *) ofpbuf_tail(pkt) - (char *) data;
int i;
size_t size = (char *) ofpbuf_tail(pkt) - (char *) data;
int i;