Skip to content

Commit

Permalink
Aesthetics
Browse files Browse the repository at this point in the history
  • Loading branch information
farrokhi committed Oct 29, 2024
1 parent 5f49c5d commit f42dbfc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dnsping.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
import socket
import sys
import time
import httpx
from statistics import stdev

import dns.flags
import dns.resolver
import httpx

from util.dns import PROTO_UDP, PROTO_TCP, PROTO_TLS, PROTO_HTTPS, PROTO_QUIC, proto_to_text, unsupported_feature, \
random_string, getDefaultPort, valid_rdatatype
Expand Down Expand Up @@ -419,7 +419,6 @@ def main():
if show_answer: # The answer should be displayed at the rightmost
for ans in answers.answer:
if ans.rdtype == dns.rdatatype.from_text(rdatatype): # is this the answer to our question?
# extras += " [%s]" % ans[0]
extras += " [RDATA: %s]" % ans[0]
break

Expand Down

0 comments on commit f42dbfc

Please sign in to comment.