Changeset 830 for trunk/cgi-bin/main.cgi
- Timestamp:
- 04/08/16 15:03:39 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r829 r830 1100 1100 if ($blockinfo->{revavail} || $blockinfo->{revpartial}) { 1101 1101 $page->param(showrev => ($blockinfo->{revavail} || $blockinfo->{revpartial}) ); 1102 $page->param(v6 => $cidr->{isv6}); 1103 $page->param(dnslink => $IPDB::dnsadmin_url); 1104 1105 # get the DNSAdmin zone ID(s) for this allocation. 1106 # Multiple zones should be rare, but are NOT impossible! 1107 my $revlist = getRevID($ip_dbh, user => $authuser, cidr => $blockinfo->{block}, 1108 location => $blockinfo->{location}); 1109 $page->param(revlist => $revlist); 1110 1102 1111 my $cached; 1103 1112 # Get rDNS info; duplicates a bit of getBlockData but also does the RPC call if possible … … 1284 1293 } 1285 1294 1295 # and now IPv6 1296 ##fixme: how to remove an entry? maybe treat empty host as "delete meeeee!"? 1297 if ($webvar{v6list}) { 1298 my @v6lines = split /\n/, $webvar{v6list}; 1299 foreach (@v6lines) { 1300 s/^\s+//; 1301 s/\s+$//; 1302 next if /^$/; 1303 my ($ip,$name) = split /,/; 1304 $iprev{"host_$ip"} = $name; 1305 } 1306 } 1307 1286 1308 # Merge with reserved freeblock 1287 1309 $updargs{fbmerge} = $webvar{expandme} if $webvar{expandme};
Note:
See TracChangeset
for help on using the changeset viewer.