From 28e003e4861004579d1a271ac4255c62303c7b6a Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 12 Apr 2014 15:23:45 +0200 Subject: [PATCH] firewall.cgi: Sort protocols alphabetically. --- html/cgi-bin/firewall.cgi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/html/cgi-bin/firewall.cgi b/html/cgi-bin/firewall.cgi index 9af97d1a8..021255fd7 100644 --- a/html/cgi-bin/firewall.cgi +++ b/html/cgi-bin/firewall.cgi @@ -1284,6 +1284,10 @@ sub get_serviceports } } } + + # Sort protocols alphabetically. + @protocols = sort(@protocols); + return @protocols; } sub getcolor -- 2.39.2