Ovs syslog clean disable (#1558)

* Openvswitch: Disable logging only once
This commit is contained in:
Bhargava Shastry 2018-06-25 16:24:17 +02:00 committed by Abhishek Arya
parent 7690a138a9
commit a8b52adff6
1 changed files with 5 additions and 1 deletions

View File

@ -22,10 +22,14 @@
int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
{
static bool isInit = false;
struct ofpbuf b;
if (size < sizeof(struct ofp_header)) return 0;
vlog_set_verbosity("off");
if (!isInit) {
vlog_set_verbosity("off");
isInit = true;
}
ofpbuf_use_const(&b, data, size);
for (;;) {