diff options
author | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-12-08 21:34:03 +0000 |
---|---|---|
committer | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-12-08 21:34:03 +0000 |
commit | f930ee284c1d068927d686b340db09b3fc2764fe (patch) | |
tree | 2fc5e1fe9435ee5efed063d8dfb87d3fabd452c8 /src/lib/Server/Hostbase | |
parent | b4e7d85d3ce3ff9ea1254a055064d58a56d40070 (diff) | |
download | bcfg2-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')
-rw-r--r-- | src/lib/Server/Hostbase/templates/reverseappend.tmpl | 2 |
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 %} |