sccn / liblsl

C++ lsl library for multi-modal time-synched data transmission over the local network
Other
114 stars 67 forks source link

Bug in netinterfaces.cpp #187

Closed jchen-dawnscene closed 1 year ago

jchen-dawnscene commented 1 year ago

liblsl/src/netinterfaces.cpp Lines 89-91

        LOG_F(INFO, "netif '%s' (status: %d, multicast: %d, broadcast: %d)", addr->ifa_name,
            addr->ifa_flags & IFF_MULTICAST, addr->ifa_flags & IFF_UP,
            addr->ifa_flags & IFF_BROADCAST);

I guess it should be:

        LOG_F(INFO, "netif '%s' (status: %d, multicast: %d, broadcast: %d)", addr->ifa_name,
            addr->ifa_flags & IFF_UP, addr->ifa_flags & IFF_MULTICAST, 
            addr->ifa_flags & IFF_BROADCAST);
tstenner commented 1 year ago

Of course. Could you open with the change so you get authorship credits?