From f6712902a92eb82b6c8d7e7fd0980a20a716fa0d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 27 Oct 2005 19:11:34 +0000 Subject: * format unknown DNS records according to RFC3597 * add some DNS class and type validity checks to avahi_server_add() * move DNS type and class definitions to avahi-common/defs.h git-svn-id: file:///home/lennart/svn/public/avahi/trunk@896 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-common/error.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'avahi-common/error.c') diff --git a/avahi-common/error.c b/avahi-common/error.c index f2216b4..c997dc0 100644 --- a/avahi-common/error.c +++ b/avahi-common/error.c @@ -78,8 +78,9 @@ const char *avahi_strerror(int error) { "DNS failure: NXRRSET", "DNS failure: NOTAUTH", "DNS failure: NOTZONE", - - "Invalid RDATA" + "Invalid RDATA", + "Invalid DNS type", + "Invalid DNS class" }; if (-error < 0 || -error >= -AVAHI_ERR_MAX) -- cgit