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

BUG: Setting ttl fails for IPv6 #4

Open
dvolodin7 opened this issue Mar 24, 2023 · 1 comment
Open

BUG: Setting ttl fails for IPv6 #4

dvolodin7 opened this issue Mar 24, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@dvolodin7
Copy link
Contributor

Describe the issue:

Setting ttl on IPv6 packets ends with OSError: Protocol not available

Reproduce the code example:

import asyncio
from gufo.ping import Ping

async def main():
    ping = Ping(ttl=32)
    await ping.ping("::1"):
        pass

asyncio.run(main())

Error message:

OSError: Protocol not available

Python version information

3.11.2 (main, Mar 23 2023, 03:00:37) [GCC 10.2.1 20210110]

Gufo Ping version information

0.2.4

Operation system version

Devcontainer

@dvolodin7 dvolodin7 added the bug Something isn't working label Mar 24, 2023
@dvolodin7
Copy link
Contributor Author

I have open an issue in socket2 library: rust-lang/socket2/issues/418

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant