X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=vswitchd%2Fbridge.c;h=a174cad199081c7ecce18bd6253dd1d0b0eb306c;hb=eda1f38d41be1b604229343fe14d7122eaedd4d5;hp=001f9f68dcd3c71321d46a138119802fabac7f06;hpb=9759479ab6dd8a050f5838e01111536d8d6b2538;p=openvswitch diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 001f9f68..a174cad1 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -3833,8 +3833,8 @@ lacp_send_pdu_cb(void *aux, const struct lacp_pdu *pdu) struct lacp_pdu *packet_pdu; ofpbuf_init(&packet, 0); - packet_pdu = compose_packet(&packet, eth_addr_lacp, ea, ETH_TYPE_LACP, - sizeof *packet_pdu); + packet_pdu = eth_compose(&packet, eth_addr_lacp, ea, ETH_TYPE_LACP, + sizeof *packet_pdu); memcpy(packet_pdu, pdu, sizeof *packet_pdu); ofproto_send_packet(iface->port->bridge->ofproto, iface->dp_ifidx, 0, &packet);