timeval: Use monotonic time where appropriate.
[openvswitch] / ovsdb / file.c
index cf5bb41d4b10a7f84397dd77ef7abfe900cba0ec..f0913e9d3bf388d4878a91ddc3bf0125523d9018 100644 (file)
@@ -737,7 +737,7 @@ ovsdb_file_txn_commit(struct json *json, const char *comment,
     if (comment) {
         json_object_put_string(json, "_comment", comment);
     }
-    json_object_put(json, "_date", json_integer_create(time_now()));
+    json_object_put(json, "_date", json_integer_create(time_wall()));
 
     error = ovsdb_log_write(log, json);
     json_destroy(json);