From 786f5641f7131a4bc9d595cc011d50c4a0a48f15 Mon Sep 17 00:00:00 2001 From: David Cermak Date: Tue, 14 May 2019 16:41:07 +0200 Subject: [PATCH] mdns: documentation: fixed inconsistent enum in example of reading mdns results --- docs/en/api-reference/protocols/mdns.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/api-reference/protocols/mdns.rst b/docs/en/api-reference/protocols/mdns.rst index d01e24149..5a31fb613 100644 --- a/docs/en/api-reference/protocols/mdns.rst +++ b/docs/en/api-reference/protocols/mdns.rst @@ -126,7 +126,7 @@ Example method to resolve local services:: } a = r->addr; while(a){ - if(a->addr.type == MDNS_IP_PROTOCOL_V6){ + if(a->addr.type == IPADDR_TYPE_V6){ printf(" AAAA: " IPV6STR "\n", IPV62STR(a->addr.u_addr.ip6)); } else { printf(" A : " IPSTR "\n", IP2STR(&(a->addr.u_addr.ip4)));