/* Check if any of the interfaces is up.  */
static bool _udp_pcb_is_in_use()
/* Check if any of the interfaces is up.  */
static bool _udp_pcb_is_in_use()
{
        for (p=0; p<MDNS_IP_PROTOCOL_MAX; p++) {
            if(_mdns_server->interfaces[i].pcbs[p].pcb){
                return true;
            }
        }
    }
    return false;
}