From 7a8f1c6e103ab7cfa0d57455da96205244d04941 Mon Sep 17 00:00:00 2001 From: joonhaengHeo <85541460+joonhaengHeo@users.noreply.github.com> Date: Tue, 17 Oct 2023 16:06:22 +0900 Subject: [PATCH] Update src/inet/InetInterfaceImpl.h Co-authored-by: Boris Zbarsky --- src/inet/InetInterfaceImpl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/inet/InetInterfaceImpl.h b/src/inet/InetInterfaceImpl.h index 3592c3aa0234b8..4d310c998c0107 100644 --- a/src/inet/InetInterfaceImpl.h +++ b/src/inet/InetInterfaceImpl.h @@ -24,7 +24,9 @@ namespace chip { namespace Inet { -// Define if_nameindex to be implemented in the platform layer +// Some platforms have broken if_nameindex and if_freenameindex implementations. +// Allow platforms to either wrap a non-broken platform implementation or have a custom +// implementation. struct if_nameindex * if_nameindexImpl(); void if_freenameindexImpl(struct if_nameindex * inArray); } // namespace Inet