Christoffer Fjellström
d49c86087e
Add checks on data length for A and AAAA records ( #919 )
...
* Add checks on data length for A and AAAA records
Fixes panic when parsing A or AAAA records with no data
* Add tests Field() on empty A/AAAA data
* Refactor format test
* Add return value check on format test
2019-03-12 16:31:33 +00:00
Tom Thorogood
67bd05e2f4
Remove unused variable from switch in Field ( #876 )
2018-12-30 16:41:07 +01:00
Miek Gieben
799de7044d
Remove WKS support
...
Support for WKS was incomplete, i.e. len() method was incorrect.
Remove support for the record and handle it as an unknown one.
Fixes #361
2016-06-05 08:23:44 +01:00
Miek Gieben
3431a56aac
Typo in comment
2015-01-13 16:21:24 +00:00
Miek Gieben
733a2d3822
Remove code, fix doc and fix test
2015-01-13 11:43:57 +00:00
Miek Gieben
5d8dbab4c8
Remove the fmt Formatters
...
Formatters are not needs you can access the members just fine.
However the rdata Field access function are handy and non-trivial,
extend them and add a basic test.
2015-01-13 10:20:34 +00:00
Miek Gieben
9c3a117004
Add some more string conversion
2015-01-12 22:33:49 +00:00
Miek Gieben
59ad100e22
Need to implement some more verbs as well
2015-01-12 09:54:56 +00:00
Miek Gieben
a8e252952e
Doc tweaks
2015-01-11 22:15:41 +00:00
Miek Gieben
735efcbd10
Allow access (as strings) to the rdata of each RR
2015-01-11 21:01:54 +00:00
Miek Gieben
74b8577dc6
Better docs
2015-01-11 18:03:32 +00:00
Miek Gieben
1e8afcf787
Fix the tests, add the %s verb as well
2015-01-11 17:55:39 +00:00
Miek Gieben
78d0037371
And add the new file...
2015-01-11 17:28:21 +00:00