summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2004-08-05 10:36:26 +0000
committerAntoine Ginies <aginies@mandriva.com>2004-08-05 10:36:26 +0000
commitb01fa98068a6cc6dddb04d73b49bc82e0b2312ab (patch)
treebbaca4d680ac71ae8ed770975429438836ddea0d
parent10f7bb76da6af91cf361ace76ecf1d45362f0837 (diff)
downloaddrakwizard-b01fa98068a6cc6dddb04d73b49bc82e0b2312ab.tar
drakwizard-b01fa98068a6cc6dddb04d73b49bc82e0b2312ab.tar.gz
drakwizard-b01fa98068a6cc6dddb04d73b49bc82e0b2312ab.tar.bz2
drakwizard-b01fa98068a6cc6dddb04d73b49bc82e0b2312ab.tar.xz
drakwizard-b01fa98068a6cc6dddb04d73b49bc82e0b2312ab.zip
increment serial when removing host
-rw-r--r--dns_wizard/Bind.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/dns_wizard/Bind.pm b/dns_wizard/Bind.pm
index 65c178fc..466f3ab0 100644
--- a/dns_wizard/Bind.pm
+++ b/dns_wizard/Bind.pm
@@ -777,6 +777,7 @@ sub do_it_remove {
s/^\d+\tIN\tPTR\t$NAME.*//;
s/^\s*$//;
} "$ZONE_DIR/db.$iprev.hosts";
+ increment_serial($iprev);
system("service named reload");
}