---
**[tickets:#424] No support for IPv6**
**Status:** new
**Milestone:** 0.11.0
**Created:** Wed Feb 07, 2024 09:04 PM UTC by Andre Z.
**Last Updated:** Wed Feb 07, 2024 09:04 PM UTC
**Owner:** nobody
Hello OpenOCD team,
today I've noticed a change. You are not directly responsible for the problem
but there is still a flaw.
According to
https://sourceforge.net/p/openocd/code/ci/master/tree/src/server/server.c#l234
there is no IPv6 support. This might not be a big issue at first. However
Debian Testing now provides ::1 instead of 127.0.0.1 if given a choice. This
means that "localhost" is no longer possible if the client supports both.
I've already addressed this at https://github.com/Marus/cortex-debug/pull/979
but the author preferred that I would address the root cause.
The issue can be solved by using AF_INET6 instead of AF_INET as it listens to
both IPv6 and IPv4 at the same time.
This problem might affect future developers as IPv6 becomes more standard.
Kind regards,
André Zeps
---
Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/openocd/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.