diff --git a/.github/scripts/process-plugins.py b/.github/scripts/process-plugins.py index 5a3fa8932..f4c80badb 100644 --- a/.github/scripts/process-plugins.py +++ b/.github/scripts/process-plugins.py @@ -31,7 +31,7 @@ list_packages = set() for plugin in plugins: list_plugins.add(plugin) try: - found = re.search('(.*)\/(?:plugin\.pm|mode\/.+|custom\/.+)', plugin).group(1) + found = re.search('(.*)\/(?:plugin\.pm|(?:lib|mode|custom)\/.+)', plugin).group(1) list_plugins.add(found) except AttributeError: pass diff --git a/src/apps/protocols/dns/lib/dns.pm b/src/apps/protocols/dns/lib/dns.pm index 126763013..d527e5756 100644 --- a/src/apps/protocols/dns/lib/dns.pm +++ b/src/apps/protocols/dns/lib/dns.pm @@ -49,7 +49,7 @@ sub search { $map_search_field->{PTR} = 'ptrdname' if (defined($self->{option_results}->{use_ptr_fqdn})); my $error_quit = defined($options{error_quit}) ? $options{error_quit} : undef; - + my $reply = $handle->search($self->{option_results}->{search}, $search_type); if ($reply) { foreach my $rr ($reply->answer) { @@ -68,14 +68,14 @@ sub search { $self->{output}->exit(); } } - + return sort @results; } sub connect { my ($self, %options) = @_; my %dns_options = (); - + if (defined($self->{option_results}->{nameservers})) { $dns_options{nameservers} = [@{$self->{option_results}->{nameservers}}]; }