From c81deb0044e6f02b8f04dd8dca15e29a62616ae5 Mon Sep 17 00:00:00 2001 From: "SIPOS, Peter" Date: Fri, 18 Nov 2016 08:30:24 +0100 Subject: [PATCH] Fix SOE-EDIT-API value in reverse-domain creation --- app/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models.py b/app/models.py index b805125..533e701 100644 --- a/app/models.py +++ b/app/models.py @@ -609,6 +609,7 @@ class Domain(db.Model): domain_id = self.get_id_by_name(domain_reverse_name) if None == domain_id and app.config['AUTOMATIC_REVERSE_PTR']: result = self.add(domain_reverse_name, 'Master', 'INCEPTION_INCREMENT', '', '') + result = self.add(domain_reverse_name, 'Master', 'INCEPTION-INCREMENT', '', '') self.update() if result['status'] == 'ok': history = History(msg='Add reverse lookup domain %s' % domain_reverse_name, detail=str({'domain_type': 'Master', 'domain_master_ips': ''}), created_by='System')