From ab2546a5215fe29f54525fb5f5b10a4e1635a3d0 Mon Sep 17 00:00:00 2001 From: Jonas Braathen Date: Mon, 30 Mar 2015 22:11:04 +0200 Subject: [PATCH] Stop updating the subnet serial every time we change the active serial --- mdb/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mdb/models.py b/mdb/models.py index b74f017..3f2dff1 100644 --- a/mdb/models.py +++ b/mdb/models.py @@ -649,8 +649,8 @@ def set_domain_name_for_subnet(sender, instance, **kwargs): instance.domain_name = "%s.in-addr.arpa" % rev # update it's own serial - if instance.domain_serial is not None: - instance.domain_serial = format_domain_serial_and_add_one(instance.domain_serial) + #if instance.domain_serial is not None: + # instance.domain_serial = format_domain_serial_and_add_one(instance.domain_serial) # lets update the serial of the dhcp config # when the subnet is changed