Skip to content
Browse files

Fix slave to master conversion https://sourceforge.net/tracker/?func=…

  • Loading branch information...
1 parent f9a47c2 commit 0aca36a5fe3e5d5413bd1f1b153ebe5073bd8180 @jcameron jcameron committed Feb 7, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 bind8/convert_slave.cgi
View
3 bind8/convert_slave.cgi
@@ -6,6 +6,9 @@ require './bind8-lib.pl';
&ReadParse();
&error_setup($text{'convert_err'});
+$zone = &get_zone_name_or_error($in{'zone'}, $in{'view'});
+$zconf = &zone_to_config($zone);
+
$access{'master'} || &error($text{'mcreate_ecannot'});
$file = &find("file", $zconf->{'members'});
if (!$file) {

0 comments on commit 0aca36a

Please sign in to comment.
Something went wrong with that request. Please try again.