diff options
Diffstat (limited to 'src/namestore/gnunet-namestore.c')
-rw-r--r-- | src/namestore/gnunet-namestore.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c index cbaf9a5cb..5f4daa4a8 100644 --- a/src/namestore/gnunet-namestore.c +++ b/src/namestore/gnunet-namestore.c | |||
@@ -669,6 +669,19 @@ get_existing_record (void *cls, | |||
669 | ret = 1; | 669 | ret = 1; |
670 | test_finished (); | 670 | test_finished (); |
671 | return; | 671 | return; |
672 | case GNUNET_DNSPARSER_TYPE_SOA: | ||
673 | if (GNUNET_DNSPARSER_TYPE_SOA == type) | ||
674 | { | ||
675 | fprintf ( | ||
676 | stderr, | ||
677 | _ ( | ||
678 | "A SOA record exists already under `%s', cannot add a second SOA to the same zone.\n"), | ||
679 | rec_name); | ||
680 | ret = 1; | ||
681 | test_finished (); | ||
682 | return; | ||
683 | } | ||
684 | break; | ||
672 | } | 685 | } |
673 | } | 686 | } |
674 | switch (type) | 687 | switch (type) |