ofp-print: Don't print priority for flow stats requests.
[openvswitch] / lib / random.c
index 7f892514ce09534842984cf8856698be06d7162c..6b02446014e1f71eb778f3c047fe43ee563ee6f2 100644 (file)
@@ -17,6 +17,7 @@
 #include <config.h>
 #include "random.h"
 
+#include <assert.h>
 #include <errno.h>
 #include <stdlib.h>
 #include <sys/time.h>
@@ -56,6 +57,13 @@ random_init(void)
     }
 }
 
+void
+random_set_seed(uint32_t seed_)
+{
+    assert(seed_);
+    seed = seed_;
+}
+
 void
 random_bytes(void *p_, size_t n)
 {