| OLD | NEW |
| 1 # Copyright (C) 2001-2007, 2009, 2010 Nominum, Inc. | 1 # Copyright (C) 2001-2007, 2009, 2010 Nominum, Inc. |
| 2 # | 2 # |
| 3 # Permission to use, copy, modify, and distribute this software and its | 3 # Permission to use, copy, modify, and distribute this software and its |
| 4 # documentation for any purpose with or without fee is hereby granted, | 4 # documentation for any purpose with or without fee is hereby granted, |
| 5 # provided that the above copyright notice and this permission notice | 5 # provided that the above copyright notice and this permission notice |
| 6 # appear in all copies. | 6 # appear in all copies. |
| 7 # | 7 # |
| 8 # THE SOFTWARE IS PROVIDED "AS IS" AND NOMINUM DISCLAIMS ALL WARRANTIES | 8 # THE SOFTWARE IS PROVIDED "AS IS" AND NOMINUM DISCLAIMS ALL WARRANTIES |
| 9 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | 9 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 10 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM BE LIABLE FOR | 10 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM BE LIABLE FOR |
| (...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 @param current: The offet in wire of the beginning of the rdata. | 447 @param current: The offet in wire of the beginning of the rdata. |
| 448 @type current: int | 448 @type current: int |
| 449 @param rdlen: The length of the wire-format rdata | 449 @param rdlen: The length of the wire-format rdata |
| 450 @type rdlen: int | 450 @type rdlen: int |
| 451 @param origin: The origin to use for relative names | 451 @param origin: The origin to use for relative names |
| 452 @type origin: dns.name.Name | 452 @type origin: dns.name.Name |
| 453 @rtype: dns.rdata.Rdata instance""" | 453 @rtype: dns.rdata.Rdata instance""" |
| 454 | 454 |
| 455 cls = get_rdata_class(rdclass, rdtype) | 455 cls = get_rdata_class(rdclass, rdtype) |
| 456 return cls.from_wire(rdclass, rdtype, wire, current, rdlen, origin) | 456 return cls.from_wire(rdclass, rdtype, wire, current, rdlen, origin) |
| OLD | NEW |