]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
firewall-lib.pl: Add get_custom_srvgrp_ports() function
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 22 Apr 2023 07:38:48 +0000 (09:38 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 3 Mar 2024 11:56:03 +0000 (12:56 +0100)
commit6aafefaca215d33d65f6d16282129d72812fddda
treef6192948e5ab5f79e68095860c627bfad369e98c
parentcf8fab4b7660edc8a1a09d27a749c8e2cd34391e
firewall-lib.pl: Add get_custom_srvgrp_ports() function

This function can be used to get all service port numbers which are
attached to a custom service group by it's name.

You also have to choose if you want to get the ports for TCP or UDP
services.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/firewall/firewall-lib.pl