tests: Update interface-reconfigure tests.
[openvswitch] / ofproto / ofproto.c
index 52a1964bfdfe3d1ffd95ed9ad8d68e07e0179da2..df5850f19d94473927311495b445f8d7ea2b9d25 100644 (file)
@@ -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);