Add is_valid_subnet BiF

Also includes consistency tweak for is_valid_ip() plus test cases.
This commit is contained in:
Yacin Nadji 2025-01-24 13:00:32 -05:00 committed by Christian Kreibich
parent 7ba9609992
commit 8b83c2995a
7 changed files with 37 additions and 5 deletions

2
NEWS
View file

@ -27,6 +27,8 @@ New Functionality
- Geneve tunnel options of the current packet can be extracted from scripts
using the new PacketAnalyzer::Geneve::get_options() builtin function.
- The new ``is_valid_subnet()`` function mirrors ``is_valid_ip()``, for subnets.
Changed Functionality
---------------------