Commit cc1ca45
committed
net: downloader: Don't expect DTLS even if sec_tag provided
Configure protocol type to DTLS/1.2 only if URI is coaps://
and then require sec_tag to be set.
If sec_tag is provided, but URI is coap:// just use normal
UDP/DGRAM.
Signed-off-by: Seppo Takalo <[email protected]>1 parent 2c64721 commit cc1ca45
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
395 | | - | |
| 394 | + | |
396 | 395 | | |
397 | 396 | | |
398 | 397 | | |
| |||
0 commit comments