X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fofproto.c;h=df5850f19d94473927311495b445f8d7ea2b9d25;hb=782e6111668f5f4bccec2dc9328dc3a83f548fce;hp=52a1964bfdfe3d1ffd95ed9ad8d68e07e0179da2;hpb=db5ce51427906ed54aa3e8e1dffc0ba6d908aa8c;p=openvswitch diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 52a1964b..df5850f1 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -2515,7 +2515,7 @@ static void send_error_oh(const struct ofconn *ofconn, const struct ofp_header *oh, int error) { - struct ofpbuf *buf = make_ofp_error_msg(error, oh); + struct ofpbuf *buf = ofputil_encode_error_msg(error, oh); if (buf) { COVERAGE_INC(ofproto_error); queue_tx(buf, ofconn, ofconn->reply_counter);