diff --git a/contrib/spoa_server/ps_python.c b/contrib/spoa_server/ps_python.c index 6843cdca5..5cb7ca86e 100644 --- a/contrib/spoa_server/ps_python.c +++ b/contrib/spoa_server/ps_python.c @@ -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; }