[freeside-commits] freeside/FS/FS svc_domain.pm,1.44,1.45
Ivan,,,
ivan at wavetail.420.am
Mon Apr 3 13:49:20 PDT 2006
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv15591
Modified Files:
svc_domain.pm
Log Message:
add PTR to sort order for DNS entries
Index: svc_domain.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_domain.pm,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- svc_domain.pm 15 Apr 2005 20:29:38 -0000 1.44
+++ svc_domain.pm 3 Apr 2006 20:49:18 -0000 1.45
@@ -364,12 +364,13 @@
my $self = shift;
my %order = (
- SOA => 1,
- NS => 2,
- MX => 3,
- CNAME => 4,
- A => 5,
- TXT => 6,
+ 'SOA' => 1,
+ 'NS' => 2,
+ 'MX' => 3,
+ 'CNAME' => 4,
+ 'A' => 5,
+ 'TXT' => 6,
+ 'PTR' => 7,
);
sort { $order{$a->rectype} <=> $order{$b->rectype} }
More information about the freeside-commits
mailing list