From 4e2412d14731d4da085b0ce353d3d9d2eb2a0756 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 6 Apr 2018 19:39:46 +0200 Subject: log unsupported rec types --- src/dns/gnunet-zoneimport.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/dns/gnunet-zoneimport.c b/src/dns/gnunet-zoneimport.c index 4284859ed..c1897d6e6 100644 --- a/src/dns/gnunet-zoneimport.c +++ b/src/dns/gnunet-zoneimport.c @@ -189,6 +189,11 @@ process_record (struct Request *req, (unsigned int) rec->data.mx->preference, rec->data.mx->mxhost); break; + default: + fprintf (stderr, + "Unsupported type %u\n", + (unsigned int) rec->type); + break; } } -- cgit v1.2.3