17 |
+ # most clients support up to 3 dns server or ignore the third one |
+ # most clients support up to 3 dns server or ignore the third one |
18 |
+ @dnsserv= do { my %seen; grep { !$seen{$_}++ } @dnsserv}; |
+ @dnsserv= do { my %seen; grep { !$seen{$_}++ } @dnsserv}; |
19 |
+ |
+ |
20 |
+ $OUT = " option domain-name-servers ". join(",", @dnsserv); |
+ $OUT = " option domain-name-servers ". join(",", @dnsserv) .";"; |
21 |
+} |
+} |
22 |
diff -Nur --no-dereference e-smith-base-5.8.0.old/root/etc/e-smith/templates/etc/dhcpd.conf/25LeaseTimeDefault e-smith-base-5.8.0/root/etc/e-smith/templates/etc/dhcpd.conf/25LeaseTimeDefault |
diff -Nur --no-dereference e-smith-base-5.8.0.old/root/etc/e-smith/templates/etc/dhcpd.conf/25LeaseTimeDefault e-smith-base-5.8.0/root/etc/e-smith/templates/etc/dhcpd.conf/25LeaseTimeDefault |
23 |
--- e-smith-base-5.8.0.old/root/etc/e-smith/templates/etc/dhcpd.conf/25LeaseTimeDefault 2005-11-20 23:28:06.000000000 -0500 |
--- e-smith-base-5.8.0.old/root/etc/e-smith/templates/etc/dhcpd.conf/25LeaseTimeDefault 2005-11-20 23:28:06.000000000 -0500 |