Browse Source

custom print for replies needs work

master
boB Rudis 5 years ago
parent
commit
699c20b6b2
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 2
      DESCRIPTION
  2. 6
      R/resolver.R

2
DESCRIPTION

@ -10,7 +10,7 @@ Authors@R: c(
Maintainer: Bob Rudis <bob@rud.is> Maintainer: Bob Rudis <bob@rud.is>
Description: Something something 'DNS. Something something 'TLS'. Description: Something something 'DNS. Something something 'TLS'.
Something something 'getdns API/library'. Something something 'getdns API/library'.
SystemRequirements: C++11l libgetdns v1.5.1 or higher SystemRequirements: C++11; libgetdns v1.5.1 or higher
URL: https://gitlab.com/hrbrmstr/clandnstine URL: https://gitlab.com/hrbrmstr/clandnstine
BugReports: https://gitlab.com/hrbrmstr/clandnstine/issues BugReports: https://gitlab.com/hrbrmstr/clandnstine/issues
Encoding: UTF-8 Encoding: UTF-8

6
R/resolver.R

@ -155,11 +155,7 @@ print.gdns_response <- function(x, ...) {
"\n", sep="" "\n", sep=""
) )
print(str( print(str(x$replies_tree$answer[[1]]))
x$replies_tree$answer[[1]]$rdata[
rr_fields[[as.character(unique(x$replies_tree$answer[[1]]$type))]]
], 1
))
} }

Loading…
Cancel
Save