Changeset 802
- Timestamp:
- 11/06/20 10:57:20 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bind2hosts
r801 r802 146 146 ##fixme: maybe wrap this in an eval() instead of the warn/badrec/last bits? 147 147 for (; $nc < 3; $nc++) { 148 my ($atom) = ($rec =~ /^([\w\d ]+)\s/);148 my ($atom) = ($rec =~ /^([\w\d.]+)\s/); 149 149 # should be safe? 150 150 last if !$atom; … … 255 255 # push @{$cmap{$rdata}}, $curlabel; 256 256 ##todo: expand $rdata with $origin if unqualified 257 $cmap{$curlabel} = $rdata; 257 258 $cmap{$curlabel} = $rdata.($rdata =~ /\./ ? '' : ".$origin"); 258 259 #print "$origrec\n"; 259 260 } # CNAME record
Note:
See TracChangeset
for help on using the changeset viewer.