summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase/templates/reverseappend.tmpl
diff options
context:
space:
mode:
authorKen Raffenetti <raffenet@mcs.anl.gov>2006-12-08 21:34:03 +0000
committerKen Raffenetti <raffenet@mcs.anl.gov>2006-12-08 21:34:03 +0000
commitf930ee284c1d068927d686b340db09b3fc2764fe (patch)
tree2fc5e1fe9435ee5efed063d8dfb87d3fabd452c8 /src/lib/Server/Hostbase/templates/reverseappend.tmpl
parentb4e7d85d3ce3ff9ea1254a055064d58a56d40070 (diff)
downloadbcfg2-f930ee284c1d068927d686b340db09b3fc2764fe.tar.gz
bcfg2-f930ee284c1d068927d686b340db09b3fc2764fe.tar.bz2
bcfg2-f930ee284c1d068927d686b340db09b3fc2764fe.zip
fixed bug in reverse lookup generation
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2574 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Hostbase/templates/reverseappend.tmpl')
-rw-r--r--src/lib/Server/Hostbase/templates/reverseappend.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Hostbase/templates/reverseappend.tmpl b/src/lib/Server/Hostbase/templates/reverseappend.tmpl
index 64efe6e15..c45d42352 100644
--- a/src/lib/Server/Hostbase/templates/reverseappend.tmpl
+++ b/src/lib/Server/Hostbase/templates/reverseappend.tmpl
@@ -1,4 +1,4 @@
{% if fileorigin %}$ORIGIN {{ fileorigin }}.in-addr.arpa.{% endif %}
$ORIGIN {{ inaddr }}.in-addr.arpa.
-{% for host in hosts %}{% ifequal host.2 0 %}{{ host.3.3 }} PTR {{ host.0 }}.{% else %}{{ host.3.3 }} PTR {{ host.4.0 }}-{{ host.3.2 }}.{{ host.4.1 }}.{% endifequal %}
+{% for host in hosts %}{{ host.0.3 }} PTR {{ host.1.0 }}.{{ host.1.1 }}
{% endfor %}