ofproto: Inline trivial functions.
[sliver-openvswitch.git] / tests / test-stp.c
index 349fa5a..9ca9c6c 100644 (file)
@@ -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;