1. 09 Jan, 2023 3 commits
    • Klemens Nanni's avatar
      Use ifr_ifindex on Linux · 63f4962c
      Klemens Nanni authored
      63f4962c
    • Klemens Nanni's avatar
      Use ifr_index to fix build on OpenBSD · 37f1e243
      Klemens Nanni authored
      `struct ifreq` from `<net/if.h>` has no `ifr_ifindex` on OpenBSD.
      The canonical member access macro in all BSDs is
      ```
      #define ifr_index	ifr_ifru.ifru_index	/* interface index */
      ```
      
      The existing `g_critical()` message already uses the correct name, so
      rectify the rest.
      
      FreeBSD has `ifr_ifindex` in what appears to be linux-compat code.
      
      Found by updating libnice from 0.1.19 to 0.1.20 on OpenBSD/amd64 -current.
      37f1e243
    • Christoph Reiter's avatar
      Fix build with clang · f4e2838f
      Christoph Reiter authored
      Building libnice with clang 15 fails with:
      
      interfaces.c:913:12: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'guint' (aka 'unsigned int') [-Wint-conversion]
          return NULL;
      
      Fix by returning 0 instead.
      f4e2838f
  2. 07 Jan, 2023 2 commits
  3. 06 Jan, 2023 8 commits
  4. 04 Jan, 2023 4 commits
  5. 19 Nov, 2022 1 commit
  6. 06 Nov, 2022 1 commit
  7. 17 Oct, 2022 6 commits
  8. 29 Jul, 2022 1 commit
  9. 25 Jul, 2022 1 commit
  10. 01 Jun, 2022 1 commit
  11. 26 May, 2022 7 commits
  12. 20 May, 2022 1 commit
  13. 09 May, 2022 1 commit
  14. 05 May, 2022 2 commits
  15. 03 May, 2022 1 commit