Skip to content

Replace validate_ip_address with g_hostname_is_ip_address calls

saleem gagguturu requested to merge fatduckling/gupnp-igd:master into master

The existing method validate_ip_address relies on these headers: #include <arpa/inet.h> #include <netinet/in.h>

These headers are not available on Windows. Instead, use a similar method in Glib that already does what this function has and is portable. This allows Windows compilation.

Edited by Andre Klapper

Merge request reports