]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/functions/functions.firewall
Drop deprecated listmatch function
[people/stevee/network.git] / src / functions / functions.firewall
index c484c2ac1159430220a8c4d0fa705f5f063c09e5..a503c62081535c489e677672a37af3f1ae015302 100644 (file)
@@ -735,7 +735,7 @@ _firewall_parse_rule_line() {
        while read -r arg; do
                key=$(cli_get_key ${arg})
 
-               if ! listmatch "${key}" ${FIREWALL_RULES_CONFIG_PARAMS}; then
+               if ! list_match "${key}" ${FIREWALL_RULES_CONFIG_PARAMS}; then
                        log WARNING "Unrecognized argument: ${arg}"
                        return ${EXIT_ERROR}
                fi