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

Error: invalid net address when calling discover() with IPv6 enabled. #21

Open
Patronics opened this issue Dec 16, 2022 · 0 comments
Open

Comments

@Patronics
Copy link

On MacOS 12.6.1, I get this error message when calling discover() after setting the options to scan the IPv6 family, although it scans IPv4 fine when configured to do so.

Error: Invalid net address: fe80::427:6cc4:8bd0:1f29
    at new Netmask (/Users/path/to/node/install/node_modules/netmask/lib/netmask.js:150:15)
    at Arpping._getFullRange (/Users/path/to/node/install/node_modules/arpping/dist/index.js:180:21)
    at Arpping.<anonymous> (/Users/path/to/node/install/node_modules/arpping/dist/index.js:207:42)
    at step (/Users/path/to/node/install/node_modules/arpping/dist/index.js:44:23)
    at Object.next (/Users/path/to/node/install/node_modules/arpping/dist/index.js:25:53)
    at /Users/path/to/node/install/node_modules/arpping/dist/index.js:19:71
    at new Promise (<anonymous>)
    at __awaiter (/Users/path/to/node/install/node_modules/arpping/dist/index.js:15:12)
    at Arpping.ping (/Users/path/to/node/install/node_modules/arpping/dist/index.js:198:16)
    at Arpping.<anonymous> (/Users/path/to/node/install/node_modules/arpping/dist/index.js:305:51)
    ```
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

No branches or pull requests

1 participant