X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fcfm.c;h=c2e2a6ca951c198b31264992489a610435319a9a;hb=e0edde6fee279cdbbf3c179f5f50adaf0c7c7f1e;hp=66bca75c67d58361fe7e65b1fd73c2f3f27ee942;hpb=906bb3d008877607cea048d299aefd13c2f11b04;p=sliver-openvswitch.git diff --git a/lib/cfm.c b/lib/cfm.c index 66bca75c6..c2e2a6ca9 100644 --- a/lib/cfm.c +++ b/lib/cfm.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2011, 2012 Nicira Networks. + * Copyright (c) 2010, 2011, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -394,12 +394,12 @@ cfm_run(struct cfm *cfm) cfm->fault |= CFM_FAULT_RECV; } - if (old_cfm_fault != cfm->fault) { + if (old_cfm_fault != cfm->fault && !VLOG_DROP_INFO(&rl)) { struct ds ds = DS_EMPTY_INITIALIZER; ds_put_cfm_fault(&ds, old_cfm_fault, cfm->fault); - VLOG_INFO_RL(&rl, "%s: CFM fault status changed:%s", cfm->name, - ds_cstr_ro(&ds)); + VLOG_INFO("%s: CFM fault status changed:%s", cfm->name, + ds_cstr_ro(&ds)); ds_destroy(&ds); }