aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorRobert Pluim2024-12-18 14:50:06 +0100
committerRobert Pluim2024-12-19 15:45:00 +0100
commitd8e8e1d5ed260222e2630141d26572a361a5c75f (patch)
treebb03fcc1a9d8059f7d0ee4c0222ae9f0d9fe2dc8 /java
parent64dbb01993ee4e00f5af72c5df935c64ed321a3e (diff)
downloademacs-d8e8e1d5ed260222e2630141d26572a361a5c75f.tar.gz
emacs-d8e8e1d5ed260222e2630141d26572a361a5c75f.zip
Fix network test failure when using VPN client
When using certain VPN clients, the interface info returned by 'getifaddrs' does not have the address family filled in for the ifa_netmask component (this is allowed by the standard, since the value is not specified). The resulting address info causes network tests suite failures. Fix by copying the address family from the returned interface address. * src/process.c (network_interface_list): Copy the interface address sa_family to the netmask address. (Fnetwork_lookup_address_info): Fix test for non-IP addresses to properly account for IPv6. * test/src/process-tests.el (process-tests-check-bug-74907): New test, checks that 'network-interface-list' output is as expected. (Bug#74907)
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions