flow: Avoid assertion failure on invalid IPv6 packet.
[openvswitch] / lib / ovsdb-error.c
index c57175abb0c78c6b6ac0cca23009b318f210720d..d6b4576ea27b8b1a9685b766184af809a3fe8ec7 100644 (file)
@@ -25,8 +25,7 @@
 #include "util.h"
 #include "vlog.h"
 
-#define THIS_MODULE VLM_ovsdb_error
-#include "vlog.h"
+VLOG_DEFINE_THIS_MODULE(ovsdb_error);
 
 struct ovsdb_error {
     const char *tag;            /* String for "error" member. */
@@ -238,4 +237,3 @@ ovsdb_error_assert(struct ovsdb_error *error)
         ovsdb_error_destroy(error);
     }
 }
-