diff --git a/nselib/nmap.luadoc b/nselib/nmap.luadoc
index 98724e078..48c720117 100644
--- a/nselib/nmap.luadoc
+++ b/nselib/nmap.luadoc
@@ -318,7 +318,7 @@ function bind(addr, port)
-- * "System error" (EAI_SYSTEM)
-- In addition to these standard system error messages there are two
-- NSE-specific errors:
--- * "Sorry, you don't have OpenSSL": The protocol is "ssl" but but Nmap was compiled without OpenSSL support.
+-- * "Sorry, you don't have OpenSSL": The protocol is "ssl" but Nmap was compiled without OpenSSL support.
-- * "invalid connection method": The second parameter is not one of "tcp", "udp", and "ssl".
-- @param hostid Hostname or IP address.
-- @param port Port number.
@@ -619,7 +619,7 @@ function ethernet_open(interface_name)
-- ("dnet is not valid opened ethernet interface").
-- @param packet An ethernet frame to send.
-- @see new_dnet
--- @usage dnet:ethernet_open(packet)
+-- @usage dnet:ethernet_send(packet)
function ethernet_send(packet)
--- Closes an ethernet interface.