diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-10-27 19:11:34 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-10-27 19:11:34 +0000 |
commit | f6712902a92eb82b6c8d7e7fd0980a20a716fa0d (patch) | |
tree | 039df978bd7ea226c54fdce3aa6b17ee5728d492 /avahi-common/error.c | |
parent | a950fddba0cc84e64bc72eb621429ba05540e98e (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.c | 5 |
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) |