Skip to content

Replace all use of inet_ntoa() with inet_ntop()

Daniel Lenski requested to merge do_not_use_inet_ntoa into master

inet_ntoa() uses a statically-allocated buffer, which means that it wouldn't be safe for use by an a multithreaded application using libopenconnect (as yet hypothetical).

We should use inet_ntop() instead in all cases, even though it's slightly less convenient.

Merge request reports