Changeset 446f887 in rtems-libbsd


Ignore:
Timestamp:
Oct 2, 2018, 5:07:05 AM (9 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
eeb3fd5d9b07ac9a2e280cff60a1b762bd273a8d, 1e989998de954bef51e6c19cc3d64d39f32100aa
Children:
38c1a41
Parents:
b54bd95
git-author:
Sebastian Huber <sebastian.huber@…> (10/02/18 05:07:05)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/02/18 05:12:59)
Message:

mDNSResponder: Do not use SO_RECV_ANYIF socket opt

This socket option is not supported by FreeBSD.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mDNSResponder/mDNSPosix/mDNSPosix.c

    rb54bd95 r446f887  
    667667        if (err < 0) { err = errno; perror("setsockopt - SO_REUSExxxx"); }
    668668
     669#ifndef __rtems__
    669670        // Enable inbound packets on IFEF_AWDL interface.
    670671        // Only done for multicast sockets, since we don't expect unicast socket operations
     
    674675        #endif
    675676        if (setsockopt(*sktPtr, SOL_SOCKET, SO_RECV_ANYIF, &kOn, sizeof(kOn)) < 0) perror("setsockopt - SO_RECV_ANYIF");
     677#endif /* __rtems__ */
    676678    }
    677679
Note: See TracChangeset for help on using the changeset viewer.