diff --git a/dhcp-dns/index.cgi b/dhcp-dns/index.cgi index b02d0f958..b8abd1181 100755 --- a/dhcp-dns/index.cgi +++ b/dhcp-dns/index.cgi @@ -43,6 +43,7 @@ if (@hosts) { $fixed = &dhcpd::find("fixed-address", $_->{'members'}); $hard = &dhcpd::find("hardware", $_->{'members'}); $_->{'values'}->[0] =~ /\Q$s\E/i || + $_->{'comment'} =~ /\Q$s\E/i || $fixed->{'values'}->[0] =~ /\Q$s\E/i || $hard->{'values'}->[1] =~ /\Q$s\E/i } @hosts; }