Changeset 15613


Ignore:
Timestamp:
2009-05-05T11:33:56+02:00 (9 years ago)
Author:
markus
Message:

changed "option" to "list" for binding interfaces

Location:
trunk/package/dnsmasq/files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/dnsmasq/files/dhcp.conf

    r15172 r15613  
    1414        #list server            '/mycompany.local/1.2.3.4' 
    1515        #option nonwildcard     0 
    16         #option interfaces      '' 
     16        #list interface         br-lan 
    1717 
    1818config dhcp lan 
  • trunk/package/dnsmasq/files/dnsmasq.init

    r15245 r15613  
    3939append_server() { 
    4040        append args "-S $1" 
     41} 
     42 
     43append_interface() { 
     44        append args "-i $1" 
    4145} 
    4246 
     
    6973        append_parm "$cfg" "local" "-S" 
    7074        config_list_foreach "$cfg" "server" append_server 
     75        config_list_foreach "$cfg" "interface" append_interface 
    7176        append_parm "$cfg" "leasefile" "-l" 
    7277        append_parm "$cfg" "resolvfile" "-r" 
    7378        append_parm "$cfg" "tftp_root" "--tftp-root" 
    7479        append_parm "$cfg" "dhcp_boot" "--dhcp-boot" 
    75         append_parm "$cfg" "interfaces" "-i" 
    7680 
    7781        config_get leasefile $cfg leasefile 
Note: See TracChangeset for help on using the changeset viewer.