]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Filter: Don't write out when re-evaluating filter for internal purposes.
authorMaria Matejka <mq@ucw.cz>
Mon, 15 Jul 2019 10:03:47 +0000 (12:03 +0200)
committerMaria Matejka <mq@ucw.cz>
Mon, 15 Jul 2019 10:03:47 +0000 (12:03 +0200)
filter/f-inst.c

index 685bd42651326de766e5b3a3ae5727f27a64cc77..c0badeab161ebb4a9259a776c9d535b171147dd9 100644 (file)
     FID_INTERPRET_BODY
 
 #define pv(i) fstk->vstk[fstk->vcnt - whati->count + (i)]
-    if (whati->count)
+    if (whati->count && !(fs->flags & FF_SILENT))
       for (uint i=0; i<whati->count; i++)
        val_format(&(pv(i)), &fs->buf);
 #undef pv