Skip to content
Success

Changes

Summary

  1. core: always build osmo_sock_multiaddr_* helpers (details)
Commit d61398e73988f5d816efce1df8201aaa0c3fc872 by dtv.comp
core: always build osmo_sock_multiaddr_* helpers

Always build the public osmo_sock_multiaddr_* helper functions,
independent of HAVE_LIBSCTP.

Move the HAVE_LIBSCTP checks inside the functions and limit them
to the SCTP-specific code paths: when IPPROTO_SCTP is requested
without libsctp support, return -ENOTSUP, while non-SCTP protocols
continue to work as before.

This fixes link failures in libosmo-netif when building with

Change-Id: I3e70b7cd6cb4d022252e6ddc70a42ca5eea72bb1
The file was modifiedsrc/core/socket.c