File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
features/FEATURE_LWIP/lwip-interface Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ class LWIP : public OnboardNetworkStack, private mbed::NonCopyable<LWIP> {
159
159
* @param[out] interface_out pointer to stack interface object controlling the EMAC
160
160
* @return NSAPI_ERROR_OK on success, or error code
161
161
*/
162
- nsapi_error_t add_ethernet_interface (EMAC &emac, bool default_if, OnboardNetworkStack::Interface **interface_out);
162
+ virtual nsapi_error_t add_ethernet_interface (EMAC &emac, bool default_if, OnboardNetworkStack::Interface **interface_out);
163
163
164
164
/* * Register a PPP interface with the IP stack
165
165
*
@@ -193,7 +193,7 @@ class LWIP : public OnboardNetworkStack, private mbed::NonCopyable<LWIP> {
193
193
* version is chosen by the stack (defaults to NSAPI_UNSPEC)
194
194
* @return 0 on success, negative error code on failure
195
195
*/
196
- nsapi_error_t gethostbyname (const char *host,
196
+ virtual nsapi_error_t gethostbyname (const char *host,
197
197
SocketAddress *address, nsapi_version_t version = NSAPI_UNSPEC);
198
198
199
199
/* * Add a domain name server to list of servers to query
You can’t perform that action at this time.
0 commit comments