- Timestamp:
- 11/25/13 16:02:54 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/textrecs.cgi
r496 r536 82 82 $rec->{val} = "$rec->{distance} $rec->{val}" if $rec->{type} eq 'MX'; 83 83 $rec->{val} = "$rec->{distance} $rec->{weight} $rec->{port} $rec->{val}" if $rec->{type} eq 'SRV'; 84 printf "%-45s\t%d\t%s\t%s\n", $rec->{host}, $rec->{ttl}, $rec->{type}, $rec->{val}; 84 if ($webvar{revrec} eq 'y') { 85 printf "%-16s\t%d\t%s\t%s\n", $rec->{val}, $rec->{ttl}, $rec->{type}, $rec->{host}; 86 } else { 87 printf "%-45s\t%d\t%s\t%s\n", $rec->{host}, $rec->{ttl}, $rec->{type}, $rec->{val}; 88 } 85 89 } 86 90 #$page->param(defrec => ($webvar{defrec} eq 'y'));
Note:
See TracChangeset
for help on using the changeset viewer.