diff options
author | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-09-18 18:19:09 +0000 |
---|---|---|
committer | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-09-18 18:19:09 +0000 |
commit | 3b73e867871ffba01d849e4bc3d2dc0fffb87c96 (patch) | |
tree | c16f7961477fc6e50209a56b2f041e6f306677ba /src/lib/Server/Plugins/Hostbase.py | |
parent | ad13b478b281f8e8bf18746da17b21ea46ce9a03 (diff) | |
download | bcfg2-3b73e867871ffba01d849e4bc3d2dc0fffb87c96.tar.gz bcfg2-3b73e867871ffba01d849e4bc3d2dc0fffb87c96.tar.bz2 bcfg2-3b73e867871ffba01d849e4bc3d2dc0fffb87c96.zip |
fixed bug in MX record handling
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2277 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/Hostbase.py')
-rw-r--r-- | src/lib/Server/Plugins/Hostbase.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/Hostbase.py b/src/lib/Server/Plugins/Hostbase.py index 8575bff15..e81c4dfd1 100644 --- a/src/lib/Server/Plugins/Hostbase.py +++ b/src/lib/Server/Plugins/Hostbase.py @@ -166,8 +166,8 @@ class Hostbase(Plugin): if not prevhost[1] == host[1] or not prevhost[2] == host[2]: self.filedata[zone[1]] += ("%-32s%-10s%-32s\n" % (host[2].split(".", 1)[0], 'A', host[1])) - self.filedata[zone[1]] += ("%-32s%-10s%-3s%-29s\n" % - ('', 'MX', host[4], host[5].split(".", 1)[0])) + self.filedata[zone[1]] += ("%-32s%-10s%-3s%-29s.\n" % + ('', 'MX', host[4], host[5])) if host[3]: if host[3].split(".", 1)[1] == zone[1]: self.filedata[zone[1]] += ("%-32s%-10s%-32s\n" % |