aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.h
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2021-10-30 11:21:00 +0800
committerDavid Timber <mieabby@gmail.com>2021-10-30 11:21:00 +0800
commit6493fa5c7f616520eed25c2357914afe80c9eb56 (patch)
tree1c603ac9b4e15a727e9b88d720c2ef855dc61022 /src/protocol.h
parenta932a46545c16fb0e42ccc5a4c43b7d67d152545 (diff)
Code documentation and bug fixes ...
* Add convenience function prne_sfree_str() * Use prne_sfree_str() to scrub off sensitive data * Making the brute force login vector optional BNE param cred_dict can be null * Use O_EXCL when creating temporary files * Fix bug where bne_cb_uptime() returns the up time of the child process, not the parent
Diffstat (limited to 'src/protocol.h')
-rw-r--r--src/protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol.h b/src/protocol.h
index da500b3..600be8a 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -120,7 +120,7 @@ struct prne_host_cred {
* used to indicate whether the message is a initiation(1) or a response(0).
* 'msg_id' is a randomly generated by either end of connection. The value 0 is
* only valid for `PRNE_HTBT_OP_NOOP`(so that NOOP message is either 23 or 24
-* zeros over the wire).
+* zeroes over the wire).
* 'msg_id' is followed by uint8_t 'op', which holds a `prne_htbt_op_t` value.
* The length of data follows varies depending on 'op'.
*/