- Timestamp:
- 11/06/08 08:56:29 (2 months ago)
- Location:
- trunk/client/dhcp
- Files:
-
- 2 modified
-
ChangeLog (modified) (1 diff)
-
src/EBox/Model/RangeTable.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/dhcp/ChangeLog
r11490 r11587 1 0.12.100 2 + Bugfix: two wrong calls to EBox::Model::Row API fixed 1 3 0.12.99 2 4 + New release 3 5 0.12.1 4 + Bug fix: use the new EBox::Model::Row apifor DHCP options6 + Bug fix: use the new EBox::Model::Row API for DHCP options 5 7 0.12 6 8 + Make default and max leasing time mandatory fields -
trunk/client/dhcp/src/EBox/Model/RangeTable.pm
r10728 r11587 164 164 . "with range '{range}': {oldFrom}-{oldTo}", 165 165 newFrom => $from, newTo => $to, 166 range => $row->valueBy Element('name'),166 range => $row->valueByName('name'), 167 167 oldFrom => $compareFrom, 168 168 oldTo => $compareTo)); … … 176 176 . $self->{interface}); 177 177 foreach my $map ( @{$fixedAddressModel->rows()} ) { 178 my $fixedIP = new Net::IP($map->valueBy Element('ip'));178 my $fixedIP = new Net::IP($map->valueByName('ip')); 179 179 unless ( $fixedIP->overlaps($range) == $IP_NO_OVERLAP ) { 180 180 throw EBox::Exceptions::External(__x('Range {from}-{to} includes fixed ' … … 182 182 from => $from, 183 183 to => $to, 184 name => $map->valueBy Element('name'),185 fixedIP => $map->valueBy Element('ip'),184 name => $map->valueByName('name'), 185 fixedIP => $map->valueByName('ip'), 186 186 )); 187 187 }
