Provide compare_pkg_versions
This function parses and compares two strings to see which one seems to represent the greater "version". It splits the strings into pieces that are digits and pieces that are anything else. e.g."utility-24.9_5 pkg v4.5" becomes...
only read file if it exists, and only foreach if an array.
Allow to create empty bogons on nanoBSD
If for some reason the bogons file/s do not exist then this code createsempty ones before making any use of them in the rule set.On nanoBSD this can fail if the file system is mount RO.Protect against this possibility by use conf_mount_rw and conf_mount_ro
This is handled above now.
More safety belts on CP DB open
Take more care when attempting to open the CP database. Don't assume it's valid before attempting to use it.
Reinitialize the captive portal database for a zone if it is corrupt/unreadable. Fixes #4904
remove the destination server's interface(s) from dhcrelay. Ticket #4908
remove more old, unused platform stuff
remove old unused nopccard_platforms
View revisions
Also available in: Atom