1. 23 Dec, 2021 1 commit
  2. 22 Dec, 2021 1 commit
  3. 14 Dec, 2021 1 commit
  4. 13 Dec, 2021 1 commit
    • abousselmi's avatar
      Use getaddrinfo() instaed of gethostbyname() · 38a8b5e5
      abousselmi authored
      Like @louisroyer pointed out, gethostbyname() is deprecated and we
      should use getaddrinfo() instead.
      
      Note: the default behavior of getaddrinfo() is not the same as
      suggested by the man page when hints is set to null. It doesn't
      yield IPv6 addresses, and hints.ai_family seems to be set to
      AF_INET and not AF_UNSPEC by default.
      38a8b5e5
  5. 12 Dec, 2021 1 commit
  6. 10 Dec, 2021 2 commits
    • abousselmi's avatar
      Allow using FQDN along with IPv4 and IPv6 · 1e280bd8
      abousselmi authored
      This allows a name resolution attempt before checking IP versions.
      GetHostByName is already implemented but never been used. When used
      against an IP, it will yield the same IP. Therefore no regression
      would be implied by this.
      
      When the name resolution returns multiple IPv4 and IPv6 addresses,
      GetHostByName only returns the first element of the list which
      potentially is going to be an IPv4. This is not very convenient to
      have inside GetIp6, but the user can always specify manually the
      IPv6 to be used in the config file.
      1e280bd8
    • aligungr's avatar
      Configuration update command bug fix · b8c86919
      aligungr authored
      b8c86919
  7. 07 Dec, 2021 19 commits
  8. 03 Dec, 2021 7 commits
  9. 02 Dec, 2021 1 commit
  10. 29 Nov, 2021 1 commit
  11. 26 Nov, 2021 1 commit
    • Louis Royer's avatar
      Fix warning from IPv6FromString · d571ed87
      Louis Royer authored
      ```
      In function 'bool IPv6FromString(const char*, uint8_t*)',
          inlined from 'OctetString utils::IpToOctetString(const string&)' at /UERANSIM/src/utils/common.cpp:200:28:
      /UERANSIM/src/utils/common.cpp:49:11: warning: 'void* memset(void*, int, size_t)' forming offset [1, 15] is out of the bounds [0, 1] [-Warray-bounds]
         49 |     memset(address, 0, 16);
            |     ~~~~~~^~~~~~~~~~~~~~~~
      ```
      d571ed87
  12. 05 Nov, 2021 3 commits
  13. 03 Nov, 2021 1 commit