pre-commit: Add an exception to duplicate filter name check

This commit is contained in:
João Valverde 2022-02-15 11:34:15 +00:00
parent 8b526c61cb
commit 8198dd51cd
1 changed files with 1 additions and 0 deletions

View File

@ -328,6 +328,7 @@ sub is_proto_dup_allowed {
if (($_[0] eq "amqp") && (index($_[1], "amqp") >= 0)) {return 1;}
if (($_[0] eq "bat") && (index($_[1], "batman") >= 0)) {return 1;}
if (($_[0] eq "browser") && (index($_[1], "browser_") >= 0)) {return 1;}
if (($_[0] eq "data") && (index($_[1], "data") >= 0)) {return 1;}
if (($_[0] eq "dlsw") && (index($_[1], "dlsw_version") >= 0)) {return 1;}
if (($_[0] eq "dns") && (index($_[1], "dnskey") >= 0)) {return 1;}
if (($_[0] eq "ecmp") && (index($_[1], "ecmp_") >= 0)) {return 1;}