log unsupported rec types
authorChristian Grothoff <christian@grothoff.org>
Fri, 6 Apr 2018 17:39:46 +0000 (19:39 +0200)
committerChristian Grothoff <christian@grothoff.org>
Fri, 6 Apr 2018 17:39:46 +0000 (19:39 +0200)
src/dns/gnunet-zoneimport.c

index 4284859ed1d74dd681a4b0d14504e90b00c98344..c1897d6e6407b4d9070ee92944ba96f8313f14d0 100644 (file)
@@ -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;
   }
 }