mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-11-15 14:59:34 +01:00
21 lines
426 B
C
21 lines
426 B
C
/*
|
|
* SPDX-FileCopyrightText: 2024 Roger Light <roger@atchoo.org>
|
|
*
|
|
* SPDX-License-Identifier: EPL-2.0
|
|
*
|
|
* SPDX-FileContributor: 2024 Espressif Systems (Shanghai) CO LTD
|
|
*/
|
|
#include "ifaddrs.h"
|
|
|
|
// Dummy implementation of getifaddrs()
|
|
// TODO: Implement this if we need to use bind_interface option of listener's config
|
|
int getifaddrs(struct ifaddrs **ifap)
|
|
{
|
|
return -1;
|
|
}
|
|
|
|
void freeifaddrs(struct ifaddrs *ifa)
|
|
{
|
|
|
|
}
|