From 27a5edaf78697b623a28613d0e2a7a8df971eb84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Wed, 15 Aug 2012 11:59:01 +0200 Subject: [PATCH] libports: disable call of lwip_loopback_init() As of lwip-1.4.x this is not needed anymore because lwip now always creates a loopback device. This plug-in will be removed in the future but for now keep it around so we currently do not need to update the other targets that depend on it. Fixes #329. --- libports/src/lib/libc_lwip_loopback/init.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libports/src/lib/libc_lwip_loopback/init.cc b/libports/src/lib/libc_lwip_loopback/init.cc index 45ed39c380..18d2429af8 100644 --- a/libports/src/lib/libc_lwip_loopback/init.cc +++ b/libports/src/lib/libc_lwip_loopback/init.cc @@ -25,5 +25,13 @@ void __attribute__((constructor)) init_loopback(void) /* make sure the libc_lwip plugin has been created */ create_lwip_plugin(); - lwip_loopback_init(); + /** + * As of lwip-1.4.x this is not needed anymore because lwip + * now always creates a loopback device. This plug-in will + * be removed in the future but for now keep it around so + * we currently do not need to update the other targets that + * depend on it. + * + * lwip_loopback_init(); + */ }