Changeset 29
- Timestamp:
- 11/29/02 23:02:33 (10 years ago)
- Location:
- trunk/pdns
- Files:
-
- 3 modified
-
configure.in (modified) (2 diffs)
-
pdns/dnspacket.cc (modified) (2 diffs)
-
pdns/ueberbackend.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/configure.in
r28 r29 149 149 AC_SUBST(modulelibs) 150 150 151 if echo $modules | grep -q "mysql" 151 for a in $modules 152 do 153 case "$a" in 154 pgmysql ) 155 if test "$dopgsql" 156 then 157 needpgsql=yes 158 fi 159 if test "$domysql" 160 then 161 needmysql=yes 162 fi 163 ;; 164 mysql ) 165 needmysql=yes 166 ;; 167 pdns ) 168 needmysql=yes 169 ;; 170 esac 171 done 172 173 174 if test "$needmysql" 152 175 then 153 176 AC_ARG_WITH(mysql, … … 205 228 fi 206 229 207 for a in $modules208 do209 case "$a" in210 pgmysql )211 if test "$dopgsql"212 then213 needpgsql=yes214 fi215 ;;216 esac217 done218 230 219 231 -
trunk/pdns/pdns/dnspacket.cc
r2 r29 17 17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 18 */ 19 // $Id: dnspacket.cc,v 1. 1 2002/11/27 15:18:31ahu Exp $19 // $Id: dnspacket.cc,v 1.2 2002/11/29 22:02:33 ahu Exp $ 20 20 #include "utility.hh" 21 21 #include <cstdio> … … 491 491 492 492 u_int32_t *ttlp=(u_int32_t *)(p+4); 493 cout<<"adding ttl: "<<ttl<<endl;494 493 *ttlp=htonl(ttl); // 4, 5, 6, 7 495 494 -
trunk/pdns/pdns/ueberbackend.cc
r2 r29 17 17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 18 */ 19 // $Id: ueberbackend.cc,v 1. 1 2002/11/27 15:18:33 ahu Exp $19 // $Id: ueberbackend.cc,v 1.2 2002/11/29 22:02:33 ahu Exp $ 20 20 /* (C) Copyright 2002 PowerDNS.COM BV */ 21 21 #include "utility.hh" … … 155 155 rr.content=DNSPacket::serializeSOAData(sd); 156 156 rr.ttl=sd.ttl; 157 cout<<"Set rr.ttl to "<<sd.ttl<<endl;158 157 rr.domain_id=sd.domain_id; 159 158 addOneCache(d_question,rr);