Changeset 695 for trunk/cgi-bin/main.cgi
- Timestamp:
- 02/13/15 12:26:44 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r692 r695 904 904 $page->param(vlan => $blockinfo->{vlan}); 905 905 906 # Reserved-for-expansion 907 $page->param(reserve => $blockinfo->{reserve}); 908 $page->param(reserve_id => $blockinfo->{reserve_id}); 909 my $newblock = NetAddr::IP->new($cidr->addr, $cidr->masklen - 1)->network; 910 $page->param(newblock => $newblock); 911 906 912 # not happy with the upside-down logic, but... 907 913 $page->param(swipable => $blockinfo->{type} !~ /.i/); … … 961 967 } 962 968 969 # Merge with reserved freeblock 970 $updargs{fbmerge} = $webvar{expandme} if $webvar{expandme}; 971 963 972 my ($code,$msg) = updateBlock($ip_dbh, %updargs, iprev => \%iprev); 964 973
Note:
See TracChangeset
for help on using the changeset viewer.