]> 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>
Sat, 22 Apr 2023 07:38:48 +0000 (09:38 +0200)
commit963f0159d77dbacd41e34139baae7db73de54a89
tree3f19effbc1038485a12d7673426cf3e37f1bb220
parent9071f066046108e30b5d08da6080f636eff99e66
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