summaryrefslogtreecommitdiffstats
path: root/dns_wizard
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-23 10:00:24 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-23 10:00:24 +0000
commit3e07bc204a7e67f70108afd1b9ff715be35286aa (patch)
tree990e0da6104eb075085ca0171cd3c07ad1d86663 /dns_wizard
parent637459a5a0de0a83975ddec0ba9f676e6b420acc (diff)
downloaddrakwizard-3e07bc204a7e67f70108afd1b9ff715be35286aa.tar
drakwizard-3e07bc204a7e67f70108afd1b9ff715be35286aa.tar.gz
drakwizard-3e07bc204a7e67f70108afd1b9ff715be35286aa.tar.bz2
drakwizard-3e07bc204a7e67f70108afd1b9ff715be35286aa.tar.xz
drakwizard-3e07bc204a7e67f70108afd1b9ff715be35286aa.zip
(do_it_add) fix crash in DNS wizard (♯47018)
Diffstat (limited to 'dns_wizard')
-rw-r--r--dns_wizard/Bind.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns_wizard/Bind.pm b/dns_wizard/Bind.pm
index a0b8b14b..71cd5878 100644
--- a/dns_wizard/Bind.pm
+++ b/dns_wizard/Bind.pm
@@ -258,7 +258,6 @@ $o->{pages} = {
{ label => N("Computer IP address:"), val_ref => \$o->{var}{CLIENTIP} },
],
post => \&do_it_add,
- next => 'endadd',
},
summaryremove => {
name => N("Client with this identification will be removed from your DNS"),
@@ -893,6 +892,7 @@ sub do_it_add {
}
increment_serial($iprev);
system("service named reload");
+ return 'endadd'
}
sub do_it_remove {