diff --git a/source4/dns_server/pydns.c b/source4/dns_server/pydns.c index 0b2013c384b..7b83d7c49a1 100644 --- a/source4/dns_server/pydns.c +++ b/source4/dns_server/pydns.c @@ -388,7 +388,7 @@ static PyObject *py_dsdb_dns_timestamp_to_nt_time(PyObject *self, PyObject *args return NULL; } - if (timestamp > UINT32_MAX || timestamp < 0) { + if (timestamp > UINT32_MAX) { PyErr_SetString(PyExc_ValueError, "Time out of range"); return NULL; }