#!/usr/local/bin/perl # edit_soptions.cgi # Display options for an existing slave or stub zone require './bind8-lib.pl'; &ReadParse(); $bconf = $conf = &get_config(); if ($in{'view'} ne '') { $view = $conf->[$in{'view'}]; $conf = $view->{'members'}; } $zconf = $conf->[$in{'index'}]->{'members'}; $file = &find_value("file", $zconf); $dom = $conf->[$in{'index'}]->{'value'}; &can_edit_zone($conf->[$in{'index'}], $view) || &error($text{'slave_ecannot'}); $access{'opts'} || &error($text{'slave_ecannot'}); $desc = &ip6int_to_net(&arpa_to_ip($dom)); &ui_print_header($desc, $text{'master_opts'}, ""); print "