Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lifx-lan-address.js #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update lifx-lan-address.js #41

wants to merge 1 commit into from

Conversation

jmcc94
Copy link

@jmcc94 jmcc94 commented Apr 23, 2022

Added bitwise operation to _getBroadcastAddress to return correct broadcast addresses for all netmasks.

Fixes #40

Added bitwise operation to _getBroadcastAddress to return correct broadcast addresses for all netmasks. 

Fixes futomi#40
@Paper-Jye
Copy link

@futomi Is it possible to merge this PR into master? It fixes the issue I am having with my broadcast address from a non-standard subnet mask

Thanks again for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broadcast addrerss is not being set correctly for /26 netmask
2 participants