assorted: fix low hanging typos

pull/7349/head
Juliana Fajardini 3 years ago committed by Victor Julien
parent 1956dc3d5d
commit 29b5f68bf0

@ -126,12 +126,11 @@ static int PacketAlertHandle(DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det
SCReturnInt(1);
}
/**
* \brief Check if a certain sid alerted, this is used in the test functions
*
* \param p Packet on which we want to check if the signature alerted or not
* \param sid Signature id of the signature that thas to be checked for a match
* \param sid Signature id of the signature that has to be checked for a match
*
* \retval match A value > 0 on a match; 0 on no match
*/

@ -1142,7 +1142,7 @@ void IPOnlyMatchPacket(ThreadVars *tv,
}
/**
* \brief Build the radix trees from the lists of parsed adresses in CIDR format
* \brief Build the radix trees from the lists of parsed addresses in CIDR format
* the result should be 4 radix trees: src/dst ipv4 and src/dst ipv6
* holding SigNumArrays, each of them with a hierarchical relation
* of subnets and hosts
@ -1562,7 +1562,7 @@ void IPOnlyPrepare(DetectEngineCtx *de_ctx)
/**
* \brief Add a signature to the lists of Addresses in CIDR format (sorted)
* this step is necesary to build the radix tree with a hierarchical
* this step is necessary to build the radix tree with a hierarchical
* relation between nodes
* \param de_ctx Pointer to the current detection engine context
* \param de_ctx Pointer to the current ip only detection engine contest
@ -1619,7 +1619,7 @@ static int IPOnlyTestSig01(void)
}
/**
* \test check that we dont set a Signature as IPOnly because it has no rule
* \test check that we don't set a Signature as IPOnly because it has no rule
* option appending a SigMatch but a port is fixed
*/
@ -1639,7 +1639,7 @@ static int IPOnlyTestSig02 (void)
}
/**
* \test check that we set dont set a Signature as IPOnly
* \test check that we set don't set a Signature as IPOnly
* because it has rule options appending a SigMatch like content, and pcre
*/

@ -814,8 +814,8 @@ static int UtilActionTest13(void)
{0, 0, 1},
{0, 0, 1},
{0, 0, 1} };
/* All the patckets should match the 3 sigs. As drop has more
* priority than pass, it should alert on each packet */
/* All the packets should match the 3 sigs. As drop has more
* priority than pass, it should alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
@ -889,9 +889,9 @@ static int UtilActionTest14(void)
{1, 0, 1},
{1, 0, 1},
{1, 0, 1} };
/* All the patckets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
/* All the packets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
@ -958,9 +958,9 @@ static int UtilActionTest15(void)
{0, 0, 0},
{0, 0, 0},
{0, 0, 0} };
/* All the patckets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
/* All the packets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
@ -1022,9 +1022,9 @@ static int UtilActionTest16(void)
{0, 0, 0},
{0, 0, 0},
{0, 0, 0} };
/* All the patckets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
/* All the packets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
@ -1086,9 +1086,9 @@ static int UtilActionTest17(void)
{0, 0, 0},
{0, 0, 0},
{0, 0, 0} };
/* All the patckets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
/* All the packets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
@ -1155,9 +1155,9 @@ static int UtilActionTest18(void)
{0, 0, 1},
{0, 0, 1},
{0, 0, 1} };
/* All the patckets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
/* All the packets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
@ -1230,9 +1230,9 @@ static int UtilActionTest19(void)
{1, 0, 0},
{1, 0, 0},
{1, 0, 0} };
/* All the patckets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
/* All the packets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
@ -1305,9 +1305,9 @@ static int UtilActionTest20(void)
{0, 1, 0},
{0, 1, 0},
{0, 1, 0} };
/* All the patckets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
/* All the packets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
@ -1374,9 +1374,9 @@ static int UtilActionTest21(void)
{1, 0, 1},
{1, 0, 1},
{1, 0, 1} };
/* All the patckets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
/* All the packets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
@ -1449,9 +1449,9 @@ static int UtilActionTest22(void)
{1, 1, 0},
{1, 1, 0},
{1, 1, 0} };
/* All the patckets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
/* All the packets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
@ -1524,9 +1524,9 @@ static int UtilActionTest23(void)
{0, 1, 1},
{0, 1, 1},
{0, 1, 1} };
/* All the patckets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
/* All the packets should match the 3 sigs. As drop
* and alert have more priority than pass, both should
* alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)

Loading…
Cancel
Save