summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2011-03-24 15:14:45 -0700
committerSam Roberts <vieuxtech@gmail.com>2011-03-24 15:14:45 -0700
commit4c0ece33da33d358883be082220fc94d077588b0 (patch)
tree5408da2a13faa349e1c089bcf257fedc33301fc4
parentd8ce63c712d98fd2f570185c8e279e011ac55d81 (diff)
downloadlibnet-4c0ece33da33d358883be082220fc94d077588b0.tar.gz
Clarify docs.
-rw-r--r--lua/nfq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/nfq.c b/lua/nfq.c
index 35a421f..fb2d80b 100644
--- a/lua/nfq.c
+++ b/lua/nfq.c
@@ -247,8 +247,8 @@ static int bind_pf(lua_State* L)
cbfn - a function called for every queued packet with one argument, qdata. It
returns "accept" or "drop" meaning to do that to the packet. For no return
-value, the default is "accept". If it returns a second argument, it must be a
-string, and replaces the current packet.
+value, the default is "accept". If the packet is accepted, the cbfn can
+optionally return a second argument, a string that replaces the current packet.
Return qhandle on success and nil,emsg,errno on failure.
*/