Skip to content

Commit 61e6c0b

Browse files
aescolarhenrikbrixandersen
authored andcommitted
mgmt: updatehub: Use renamed network APIs
In d45cd67 f27a26f the mayority of this code was changed to use the new native networking API naming, but one macro was forgotten. Let's change it now so this code builds also without CONFIG_NET_NAMESPACE_COMPAT_MODE Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
1 parent b1cc5de commit 61e6c0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎subsys/mgmt/updatehub/updatehub.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ static bool start_coap_client(void)
183183
}
184184

185185
#if defined(CONFIG_UPDATEHUB_DTLS)
186-
int verify = TLS_PEER_VERIFY_REQUIRED;
186+
int verify = ZSOCK_TLS_PEER_VERIFY_REQUIRED;
187187
sec_tag_t sec_list[] = { CA_CERTIFICATE_TAG };
188188
int protocol = NET_IPPROTO_DTLS_1_2;
189189
char port[] = "5684";

0 commit comments

Comments
 (0)