diff --git a/nselib/ipOps.lua b/nselib/ipOps.lua
index dc4e30361..498652825 100644
--- a/nselib/ipOps.lua
+++ b/nselib/ipOps.lua
@@ -216,9 +216,9 @@ end
-- @param left String representing an IPv4 or IPv6 address. Shortened
-- notation is permitted.
-- @param op A comparison operator which may be one of the following strings:
--- "eq", "ge", "le",
--- "gt" or "lt" (respectively ==, >=, <=,
--- >, <).
+-- "eq", "ne", "ge",
+-- "le", "gt" or "lt"
+-- (respectively ==, ~=, >=, <=, >, <).
-- @param right String representing an IPv4 or IPv6 address. Shortened
-- notation is permitted.
-- @usage