Cacti / cacti

Cacti ™
http://www.cacti.net
GNU General Public License v2.0
1.6k stars 397 forks source link

fix #5743 use of perl regexp vs sql like #5747

Closed gvde closed 1 month ago

gvde commented 1 month ago

Fixes order of REGEXP parameters and avoids devices with empty sysDescr, sysName or sysOid to match device rules with set, non-empty matches.

gvde commented 1 month ago

@TheWitness @netniV How do you handle this with the develop branch? Do you want me to create a pull request for the develop branch, too?

netniV commented 1 month ago

Yes a separate pull request would be best.

TheWitness commented 1 month ago

I will do a bunch of cherry picking once the code freeze is lifted @gvde

gvde commented 1 month ago

@TheWitness I have already created #5749...

TheWitness commented 1 month ago

Yea, I saw it.