Skip to content

Commit

Permalink
change wording on detecting working IPv6
Browse files Browse the repository at this point in the history
  • Loading branch information
berthubert committed Apr 14, 2024
1 parent a37d347 commit ea47b3c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dnsmon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,13 @@ try
DNSSection rrsection;
uint32_t ttl;
while(dmr.getRR(rrsection, dn, dt, ttl, rr)) {
if(rrsection == DNSSection::Answer && dt == DNSType::SOA) {
if(rrsection == DNSSection::Answer && dt == DNSType::SOA) {
fmt::print("Detected working IPv6 connectivity\n");
/*
fmt::print("Got answer from {}, SOA serial for root: {}\n",
rem.toString(),
dynamic_cast<SOAGen*>(rr.get())->d_serial);
*/
}
}

Expand Down

0 comments on commit ea47b3c

Please sign in to comment.