<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font face="Gentium">Hello!</font></p>
<p><font face="Gentium">No, it's not possible and it makes the
filters non-deterministic which would break a critical invariant
in BIRD's internal algorithms.</font></p>
<p><font face="Gentium">If you better clarify what you are trying to
achieve, we may find another way for you to do it, or at least
convert it to a viable feature request.</font></p>
<p><font face="Gentium">Thank you for your understanding<br>
Maria<br>
</font></p>
<div class="moz-cite-prefix">On 2024-02-10 20:56, Max Tulyev wrote:<br>
</div>
<blockquote type="cite" cite="mid:20240210195647.07f8cdf4@esh">
<pre class="moz-quote-pre" wrap="">Hi All,
is it possible to add a random number to some variable in the filter?
For example, like this:
filter myfilter
{
if net ~ 192.168.11.0/24 then preference = preference + random(10);
...
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.</pre>
</body>
</html>