Skip to content

Commit 75cc0ae

Browse files
author
Antti Kauppila
committed
CellularStack fixed
1 parent 63fbe25 commit 75cc0ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/cellular/framework/AT/AT_CellularStack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ nsapi_error_t AT_CellularStack::get_ip_address(SocketAddress *address)
8282

8383
// Try to look for second address ONLY if modem has support for dual stack(can handle both IPv4 and IPv6 simultaneously).
8484
// Otherwise assumption is that second address is not reliable, even if network provides one.
85-
if ((get_property(PROPERTY_IPV4V6_PDP_TYPE) && (_at.read_string(_ip, PDP_IPV6_SIZE) != -1))) {
85+
if ((_device.get_property(AT_CellularDevice::PROPERTY_IPV4V6_PDP_TYPE) && (_at.read_string(_ip, PDP_IPV6_SIZE) != -1))) {
8686
convert_ipv6(_ip);
8787
address->set_ip_address(_ip);
8888
ipv6 = (address->get_ip_version() == NSAPI_IPv6);

0 commit comments

Comments
 (0)