Show
Ignore:
Timestamp:
11/15/08 22:56:02 (2 months ago)
Author:
ahu
Message:

a previous commit broke the geobackend, as noted in ticket 205. Fixed: geobackend doesn't trim '.'

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/pdns/modules/geobackend/geobackend.cc

    r1247 r1282  
    515515                if (line.substr(0, 7) == "$ORIGIN") { 
    516516                        gr.origin = line.substr(8); 
    517                         trim_right(gr.origin); 
     517                        trim_right_if(gr.origin, boost::is_any_of(" \t.")); 
    518518                        gr.origin.insert(0, "."); 
    519519                        continue;