]> git.ipfire.org Git - people/ms/libloc.git/blobdiff - src/python/network.c
network: Remove deprecated loc_network_is_subnet_of function
[people/ms/libloc.git] / src / python / network.c
index 742b472186db90040927c9fe9cc014939b4afa1d..b6e92fbc8f8fe7a8dc4603fd48a71ae8c91301ee 100644 (file)
@@ -194,7 +194,7 @@ static PyObject* Network_is_subnet_of(NetworkObject* self, PyObject* args) {
        if (!PyArg_ParseTuple(args, "O!", &NetworkType, &other))
                return NULL;
 
-       if (loc_network_is_subnet_of(self->network, other->network))
+       if (loc_network_is_subnet(other->network, self->network))
                Py_RETURN_TRUE;
 
        Py_RETURN_FALSE;