From 8c20c04d996c01ef6fd5c6055abaf6d4bb2843f5 Mon Sep 17 00:00:00 2001 From: kroosec Date: Mon, 30 Jul 2012 13:33:05 +0000 Subject: [PATCH] Documentation fixes. Changed host.name and host.targetname by host.ip and host.name --- nselib/nmap.luadoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nselib/nmap.luadoc b/nselib/nmap.luadoc index bbaccd884..f0ff9a8f3 100644 --- a/nselib/nmap.luadoc +++ b/nselib/nmap.luadoc @@ -431,10 +431,10 @@ function bind(addr, port) -- "tcp". -- -- If host is a host table, it must contain at least one of the --- keys addr or targetname. If targetname +-- keys ip or name. If name -- is given, it is used to request the correct certificate in SSL connections. --- Passing a string instead of a host table acts like host.addr and --- host.targetname were set to the same value. If port +-- Passing a string instead of a host table acts like host.ip and +-- host.name were set to the same value. If port -- is a table, it must contain the number key. -- -- On success the function returns a true value. On failure it returns a false