Subject: | one bug in document, version 0.65 |
Date: | Wed, 03 Jun 2009 11:02:39 +0800 |
To: | bug-Net-DNS [...] rt.cpan.org |
From: | SUN Guonian <sun [...] cnnic.cn> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[root@ferrari RR]# diff -c OPT.pm OPT_new.pm
*** OPT.pm 2009-01-27 01:31:42.000000000 +0800
- --- OPT_new.pm 2009-06-03 10:55:55.000000000 +0800
***************
*** 208,220 ****
One may create the object from a hash. See RFC 2671 for details for
the meaning of the hash keys.
! $rr= new Net::DNS::RR {
name => "", # Ignored and set to ""
type => "OPT",
! class => 1024, # sets UDP payload size
extendedrcode => 0x00, # sets the extended RCODE 1 octets
ednsflags => 0x0000, # sets the ednsflags (2octets)
- - optioncode => 0x0 # 2 octets
optiondata => 0x0 # optionlength octets
}
- --- 208,219 ----
One may create the object from a hash. See RFC 2671 for details for
the meaning of the hash keys.
! $opt= new Net::DNS::RR::OPT {
name => "", # Ignored and set to ""
type => "OPT",
! class => 4096, # sets UDP payload size
extendedrcode => 0x00, # sets the extended RCODE 1 octets
ednsflags => 0x0000, # sets the ednsflags (2octets)
optiondata => 0x0 # optionlength octets
}
- --
CNNIC
SUN Guonian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkol588ACgkQkxxlPmOq+E0stQCffKGyyhj1mcpHOPRm9bLkAPtq
4BQAoJMpvrmgz2OS3AIwDa/ivf9d+y8D
=vPmn
-----END PGP SIGNATURE-----