We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 64d172c + ecc89c9 commit 34c9cf9Copy full SHA for 34c9cf9
features/netsocket/PPPInterface.cpp
@@ -94,10 +94,6 @@ const char *PPPInterface::get_ip_address()
94
95
nsapi_error_t PPPInterface::get_ip_address(SocketAddress *address)
96
{
97
- if (address) {
98
- return NSAPI_ERROR_PARAMETER;
99
- }
100
-
101
if (_interface && _interface->get_ip_address(address) == NSAPI_ERROR_OK) {
102
strncpy(_ip_address, address->get_ip_address(), sizeof(_ip_address));
103
return NSAPI_ERROR_OK;
0 commit comments