mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-20 21:31:28 +02:00
BUG/MEDIUM: contrib/spoa-server: Fix ipv4_address used instead of ipv6_address
Typo leads to checking the wrong object for memory issues This patch must be backported as far as 2.0.
This commit is contained in:
parent
2417ebcc01
commit
d00ce06d9d
@ -415,7 +415,7 @@ static int ps_python_start_worker(struct worker *w)
|
||||
}
|
||||
|
||||
ipv6_address = PyObject_GetAttrString(module_ipaddress, "IPv6Address");
|
||||
if (ipv4_address == NULL) {
|
||||
if (ipv6_address == NULL) {
|
||||
PyErr_Print();
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user