Changeset 8955 in genesis


Ignore:
Timestamp:
Mar 15, 2011, 8:28:37 AM (14 years ago)
Author:
rick
Message:

Allow DHCP_STATIC to be included into the dnsmasq.conf configuration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • config/iris/node/FreeBSD/8.0-RELEASE/wleiden.pl

    r8802 r8955  
    9292        $dhcp_start = $dhcp_part . $dhcp_start;
    9393        $dhcp_stop = $dhcp_part . $dhcp_stop;
    94         $output .= "dhcp-range=$interface,$dhcp_start,$dhcp_stop,$subnet,24h\n\n";
     94        $output .= "dhcp-range=$interface,$dhcp_start,$dhcp_stop,$subnet,24h\n";
     95        foreach my $dhcp_static (split(';', $DHCP_STATIC{$interface})) {
     96          $output .= "dhcp-host=$dhcp_static\n";
     97        };
     98        $output .= "\n";
    9599      }
    96100      else {
    97101       $output .= "# not autoritive \n\n";
    98102      };
     103
    99104    };
    100105  };
Note: See TracChangeset for help on using the changeset viewer.