[vhffs-dev] [2294] dns: fix "Added a TXT record for prefix" history string

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 2294
Author:   gradator
Date:     2016-02-06 23:02:46 +0100 (Sat, 06 Feb 2016)
Log Message:
-----------
dns: fix "Added a TXT record for prefix" history string

$txt is a hashref, displayed as HASH(0xb6a5830), use $data instead, which
is the string actually written in the TXT record

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/Services/DNS.pm

Modified: trunk/vhffs-api/src/Vhffs/Services/DNS.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Services/DNS.pm	2016-02-06 21:43:12 UTC (rev 2293)
+++ trunk/vhffs-api/src/Vhffs/Services/DNS.pm	2016-02-06 22:02:46 UTC (rev 2294)
@@ -747,7 +747,7 @@
 
 	$self->update_serial();
 
-	$self->add_history('Added a TXT record for prefix '.$name.' ('.$txt.')');
+	$self->add_history('Added a TXT record for prefix '.$name.' ('.$data.')');
 	return $id;
 
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/