Fixed typo
authorJamie Cameron <jcameron@webmin.com>
Wed, 2 Jul 2008 13:21:44 +0000 (13:21 +0000)
committerJamie Cameron <jcameron@webmin.com>
Wed, 2 Jul 2008 13:21:44 +0000 (13:21 +0000)
dhcpd/save_host.cgi

index bb1f7f8..4ed9200 100755 (executable)
@@ -65,7 +65,7 @@ else {
                # Check for hardware clash
                $oldhard = $in{'new'} ? undef
                                      : &find("hardware", $host->{'members'});
-               if ((!$oldhard || $in{'hardward'} ne $oldhard->{'values'}->[1])
+               if ((!$oldhard || $in{'hardware'} ne $oldhard->{'values'}->[1])
                    && $access{'uniq_hst'}) {
                        foreach $h (&get_hosts()) {
                                $chard = &find("hardware", $h->{'members'});