summaryrefslogtreecommitdiffstats
path: root/avahi-common/error.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-10-27 19:11:34 +0000
committerLennart Poettering <lennart@poettering.net>2005-10-27 19:11:34 +0000
commitf6712902a92eb82b6c8d7e7fd0980a20a716fa0d (patch)
tree039df978bd7ea226c54fdce3aa6b17ee5728d492 /avahi-common/error.c
parenta950fddba0cc84e64bc72eb621429ba05540e98e (diff)
* 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
Diffstat (limited to 'avahi-common/error.c')
-rw-r--r--avahi-common/error.c5
1 files changed, 3 insertions, 2 deletions
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)