From b00354e88e7626aa0ae080cbf1452f5a3591ded2 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Wed, 25 Aug 2010 10:38:45 -0700 Subject: [PATCH] Expand search to comments --- dhcp-dns/index.cgi | 1 + 1 file changed, 1 insertion(+) 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; }