Commit 399f213
net: lwm2m: Cleanup special handling of DNS for offloading
With `CONFIG_NET_NATIVE`, offloaded drivers can specify capabilites with
`NET_IPV4/6` configs, so there is no longer need to handle socket
offloading separately.
Also, initialize hints structure with zeros, as according to man pages
unused fields should be set to 0:
`All the other fields in the structure pointed to by hints must contain
either 0 or a NULL pointer, as appropriate.`
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>1 parent 000226f commit 399f213
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4203 | 4203 | | |
4204 | 4204 | | |
4205 | 4205 | | |
4206 | | - | |
| 4206 | + | |
4207 | 4207 | | |
4208 | 4208 | | |
4209 | 4209 | | |
| |||
4270 | 4270 | | |
4271 | 4271 | | |
4272 | 4272 | | |
4273 | | - | |
4274 | | - | |
4275 | | - | |
4276 | 4273 | | |
4277 | 4274 | | |
4278 | 4275 | | |
| |||
0 commit comments