Drop unneeded inclusions of ofp-print.h.
[openvswitch] / lib / rconn.c
index ceeb137ae78b32119217bf58a940de270f797c39..7eb93baf33845e355d471731c5754a04b28ec71d 100644 (file)
@@ -38,7 +38,6 @@
 #include <limits.h>
 #include <stdlib.h>
 #include <string.h>
-#include "ofp-print.h"
 #include "ofpbuf.h"
 #include "poll-loop.h"
 #include "sat-math.h"
@@ -304,7 +303,7 @@ run_CONNECTING(struct rconn *rc)
         VLOG_WARN("%s: connected", rc->name);
         rc->n_successful_connections++;
         if (vconn_is_passive(rc->vconn)) {
-            error(0, "%s: passive vconn not supported", rc->name);
+            ofp_error(0, "%s: passive vconn not supported", rc->name);
             state_transition(rc, S_VOID);
         } else {
             state_transition(rc, S_ACTIVE);