Simplify common `getsockname()` implementation by using VTABLE_CALL() macro, in the same way as other socket calls do. This additionally allows to cover the case, when `getsockname()` is not implemnented by particular socket implementation, preventing the crash. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| ip | ||
| l2 | ||
| lib | ||
| buf.c | ||
| CMakeLists.txt | ||
| hostname.c | ||
| Kconfig | ||
| Kconfig.hostname | ||
| Kconfig.template.log_config.default.net | ||
| Kconfig.template.log_config.net | ||