- Timestamp:
- Sep 13, 2003, 1:51:48 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/wleiden.pl
r829 r906 277 277 $nwcfg.="$doit\n"; 278 278 if ($R eq '0.0.0.0/0') {$ospfd3.=" default-information originate\n"} 279 else 280 { 281 $area=get_area($R); 282 $ospfd4.="! static route $R\nnetwork $R area $area\n\n"; 283 $NW{$area}.="$network/$width "; 284 } 279 285 $zebra.="ip route $r\n"; 280 286 } … … 681 687 682 688 EOD 683 foreach $ns (split(/\s+/,$NS_forward)) 684 {$dhcp.="option domain-name-servers ${ns};\n";} 689 #foreach $ns (split(/\s+/,$NS_forward)) 690 # {$dhcp.="option domain-name-servers ${ns};\n";} 691 {$dhcp.="option domain-name-servers ${master_ip};\n";} 685 692 686 693 $dhcp.="\n\n"; … … 806 813 search wleiden.net . 807 814 815 nameserver 127.0.0.1 808 816 EOR1 809 817 810 foreach $ns (split(/\s+/,$NS_resolv)) { 811 $resolv.="nameserver $ns\n"; 812 } 818 #foreach $ns (split(/\s+/,$NS_resolv)) { 819 # $resolv.="nameserver $ns\n"; 820 #} 821 822 foreach $if (sort keys %config) { 823 foreach $ns (split(/[\s$separator]+/,$OSPF_NEIGHBORS{$if})) { 824 next unless $ns =~ m/\d+/; 825 $resolv.="nameserver $ns\n"; 826 }; 827 }; 828 829 813 830 814 831 $named.=sprintf <<EON1;
Note:
See TracChangeset
for help on using the changeset viewer.