X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Ftest-stp.c;h=9ca9c6c677be3a64ac8ee7cf171807f14e630b7e;hb=65bfce4ae0603c8c3576acc5b3cd1ba5afff4c00;hp=349fa5a22331c56301b7f74a84d99daedfb91576;hpb=eadd16449c6e5292603cf009d29ab0e249979717;p=sliver-openvswitch.git diff --git a/tests/test-stp.c b/tests/test-stp.c index 349fa5a22..9ca9c6c67 100644 --- a/tests/test-stp.c +++ b/tests/test-stp.c @@ -93,7 +93,7 @@ send_bpdu(struct ofpbuf *pkt, int port_no, void *b_) assert(port_no < b->n_ports); lan = b->ports[port_no]; if (lan) { - const void *data = ofpbuf_get_l3(pkt); + const void *data = ofpbuf_l3(pkt); size_t size = (char *) ofpbuf_tail(pkt) - (char *) data; int i;