Changeset 11631 for branches

Show
Ignore:
Timestamp:
11/11/08 14:03:39 (8 weeks ago)
Author:
juruen@…
Message:

+ Add rules to allow DHCP requests from interfaces configured via DHCP

Location:
branches/maintenance-0.12-0.12.10/hardy-base/client/dhcp
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • branches/maintenance-0.12-0.12.10/hardy-base/client/dhcp

    • Property svn:mergeinfo set to /trunk/client/dhcp:11486,11507,11587,11628
  • branches/maintenance-0.12-0.12.10/hardy-base/client/dhcp/ChangeLog

    r11346 r11631  
     10.12.2 
     2        + Bugfix: two wrong calls to EBox::Model::Row API fixed. This 
     3      prevented from adding fixed ranges after adding a fixed address 
    140.12.1 
    2         + Bug fix: use the new EBox::Model::Row api for DHCP options 
     5        + Bug fix: use the new EBox::Model::Row API for DHCP options 
    360.12 
    47        + Make default and max leasing time mandatory fields 
  • branches/maintenance-0.12-0.12.10/hardy-base/client/dhcp/configure.ac

    r11347 r11631  
    1 AC_INIT([EBox-DHCP], [0.12.1]) 
     1AC_INIT([EBox-DHCP], [0.12.2]) 
    22 
    33AC_CONFIG_AUX_DIR([config]) 
  • branches/maintenance-0.12-0.12.10/hardy-base/client/dhcp/src/EBox/Model/RangeTable.pm

    r10728 r11631  
    164164                                                     . "with range '{range}': {oldFrom}-{oldTo}", 
    165165                                                     newFrom => $from, newTo => $to, 
    166                                                      range   => $row->valueByElement('name'), 
     166                                                     range   => $row->valueByName('name'), 
    167167                                                     oldFrom => $compareFrom, 
    168168                                                     oldTo   => $compareTo)); 
     
    176176                                                                             . $self->{interface}); 
    177177        foreach my $map ( @{$fixedAddressModel->rows()} ) { 
    178             my $fixedIP = new Net::IP($map->valueByElement('ip')); 
     178            my $fixedIP = new Net::IP($map->valueByName('ip')); 
    179179            unless ( $fixedIP->overlaps($range) == $IP_NO_OVERLAP ) { 
    180180                throw EBox::Exceptions::External(__x('Range {from}-{to} includes fixed ' 
     
    182182                                                     from => $from, 
    183183                                                     to   => $to, 
    184                                                      name => $map->valueByElement('name'), 
    185                                                      fixedIP => $map->valueByElement('ip'), 
     184                                                     name => $map->valueByName('name'), 
     185                                                     fixedIP => $map->valueByName('ip'), 
    186186                                                     )); 
    187187            }