Skip to content

Commit

Permalink
reorg: clang-format branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonish committed Dec 4, 2023
1 parent fa23683 commit be898e5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/detect-bytejump.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
#define __DETECT_BYTEJUMP_H__

/** Bytejump Base */
#define DETECT_BYTEJUMP_BASE_UNSET 0 /**< Unset type value string (automatic)*/
#define DETECT_BYTEJUMP_BASE_OCT 8 /**< "oct" type value string */
#define DETECT_BYTEJUMP_BASE_UNSET 0 /**< Unset type value string (automatic)*/
#define DETECT_BYTEJUMP_BASE_OCT 8 /**< "oct" type value string */
#define DETECT_BYTEJUMP_BASE_DEC 10 /**< "dec" type value string */
#define DETECT_BYTEJUMP_BASE_HEX 16 /**< "hex" type value string */

Expand Down
4 changes: 2 additions & 2 deletions src/detect-bytetest.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
#define DETECT_BYTETEST_OP_LE 7 /**< less than equal operator */

/** Bytetest Base */
#define DETECT_BYTETEST_BASE_UNSET 0 /**< Unset type value string (automatic)*/
#define DETECT_BYTETEST_BASE_OCT 8 /**< "oct" type value string */
#define DETECT_BYTETEST_BASE_UNSET 0 /**< Unset type value string (automatic)*/
#define DETECT_BYTETEST_BASE_OCT 8 /**< "oct" type value string */
#define DETECT_BYTETEST_BASE_DEC 10 /**< "dec" type value string */
#define DETECT_BYTETEST_BASE_HEX 16 /**< "hex" type value string */

Expand Down
4 changes: 2 additions & 2 deletions src/source-nfq.c
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ TmEcode NFQSetVerdict(Packet *p)
} else {
ret = nfq_set_verdict2(t->qh, p->nfq_v.id, verdict, p->nfq_v.mark, 0, NULL);
}
#else /* fall back to old function */
#else /* fall back to old function */
if (p->flags & PKT_STREAM_MODIFIED) {
ret = nfq_set_verdict_mark(t->qh, p->nfq_v.id, verdict,
htonl(p->nfq_v.mark), GET_PKT_LEN(p), GET_PKT_DATA(p));
Expand Down Expand Up @@ -1146,7 +1146,7 @@ TmEcode NFQSetVerdict(Packet *p)
(p->nfq_v.mark & ~nfq_config.mask),
0, NULL);
}
#else /* fall back to old function */
#else /* fall back to old function */
if (p->flags & PKT_STREAM_MODIFIED) {
ret = nfq_set_verdict_mark(t->qh, p->nfq_v.id, verdict,
htonl((nfq_config.mark & nfq_config.mask) |
Expand Down

0 comments on commit be898e5

Please sign in to comment.