Changeset 10216


Ignore:
Timestamp:
2008-01-17T02:15:50+01:00 (10 years ago)
Author:
thepeople
Message:

add option configure a custom netmask for dhcp clients Signed-off-by: Lorenz Schori <lorenz.schori@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/dnsmasq/files/dnsmasq.init

    r9612 r10216  
    189189 
    190190        config_get ipaddr "$net" ipaddr 
    191         config_get netmask "$net" netmask 
     191        config_get netmask "$cfg" netmask 
     192        [ -n "$netmask" ] || config_get netmask "$net" netmask 
    192193 
    193194        #check for an already active dhcp server on the interface, unless 'force' is set 
Note: See TracChangeset for help on using the changeset viewer.