Add random number

Max Tulyev maxtul at netassist.ua
Sat Feb 10 20:56:47 CET 2024


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);

...


More information about the Bird-users mailing list