1. 20 Mar, 2016 2 commits
    • Jörg Krause's avatar
      Fix musl build · 9692a213
      Jörg Krause authored
      Defining _GNU_SOURCE is required to get proper member names in `struct udphdr`
      when building against musl. Build error:
      
        util.c: In function 'RawFillHeaders':
        util.c:481:9: error: 'struct udphdr' has no member named 'source'
             udph->source = htons(portsrc);
                 ^
        util.c:482:9: error: 'struct udphdr' has no member named 'dest'
             udph->dest   = htons(portdst);
                 ^
        util.c:483:9: error: 'struct udphdr' has no member named 'len'
             udph->len    = htons(sizeof(struct udphdr) + len);
                 ^
        util.c:484:9: error: 'struct udphdr' has no member named 'check'
             udph->check  = 0;
      
      Including <sys/types.h> in needed for mode_t, otherwise musl build fails:
        util.h:91:1: error: unknown type name 'mode_t'
      Signed-off-by: 's avatarJörg Krause <joerg.krause@embedded.rocks>
      9692a213
    • Jörg Krause's avatar
      Makefile: link with pthread · 03366906
      Jörg Krause authored
      Otherwise building multicat in a static context fails:
        aggregartp.c:381: undefined reference to `pthread_self'
      Signed-off-by: 's avatarJörg Krause <joerg.krause@embedded.rocks>
      03366906
  2. 05 Oct, 2015 1 commit
  3. 01 Sep, 2015 1 commit
  4. 01 Aug, 2015 2 commits
  5. 17 Jul, 2015 2 commits
  6. 15 Jul, 2015 1 commit
  7. 02 Jun, 2015 1 commit
  8. 25 Dec, 2014 1 commit
  9. 14 Oct, 2014 1 commit
  10. 18 Sep, 2014 1 commit
    • Christophe Massiot's avatar
      Use SO_BINDTODEVICE to bind to a specific interface. · 0564613d
      Christophe Massiot authored
      Under Linux, the socket will receive all packets for a given multicast
      address, from any interface, even if the interface address is specified.
      SO_BINDTODEVICE requires the CAP_NET_ADMIN capability.
      
      Patch courtesy of Benjamin Cohen bcohen AT openheadend DOT tv.
      0564613d
  11. 09 Aug, 2014 1 commit
  12. 09 Jul, 2014 1 commit
  13. 12 Mar, 2014 1 commit
  14. 16 Feb, 2014 1 commit
  15. 20 Jan, 2014 1 commit
  16. 14 Jan, 2014 1 commit
  17. 13 Jan, 2014 2 commits
  18. 30 Nov, 2013 1 commit
  19. 28 Oct, 2013 1 commit
  20. 08 Mar, 2013 1 commit
  21. 06 Mar, 2013 1 commit
  22. 05 Mar, 2013 2 commits
  23. 19 Oct, 2012 3 commits
  24. 19 Jan, 2012 1 commit
  25. 04 Jan, 2012 2 commits
  26. 03 Jan, 2012 2 commits
  27. 28 Dec, 2011 1 commit
  28. 17 Nov, 2011 1 commit
  29. 15 Nov, 2011 1 commit
  30. 13 Nov, 2011 2 commits