Skip to content

Commit 312f029

Browse files
author
Felipe Zimmerle
committed
Updates the CHANGES files
1 parent 9fbcc24 commit 312f029

File tree

2 files changed

+32
-3
lines changed

2 files changed

+32
-3
lines changed

CHANGES

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
DD mmm YYYY - 1.0.0
1+
2+
v1.0.0 - 2017-Dec-20
23
--------------------
34

4-
* First version of the ModSecurity-nginx
5-
[Felipe Zimmerle]
5+
- First version of ModSecurity-nginx connector
6+

src/ngx_http_modsecurity_common.h

+28
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,34 @@
2626
#include <modsecurity/transaction.h>
2727
#include <modsecurity/rules.h>
2828

29+
30+
/**
31+
* TAG_NUM:
32+
*
33+
* Alpha - 001
34+
* Beta - 002
35+
* Dev - 010
36+
* Rc1 - 051
37+
* Rc2 - 052
38+
* ... - ...
39+
* Release- 100
40+
*
41+
*/
42+
43+
#define MODSECURITY_NGINX_MAJOR "1"
44+
#define MODSECURITY_NGINX_MINOR "0"
45+
#define MODSECURITY_NGINX_PATCHLEVEL "0"
46+
#define MODSECURITY_NGINX_TAG ""
47+
#define MODSECURITY_NGINX_TAG_NUM "100"
48+
49+
#define MODSECURITY_NGINX_VERSION MODSECURITY_NGINX_MAJOR "." \
50+
MODSECURITY_NGINX_MINOR "." MODSECURITY_NGINX_PATCHLEVEL \
51+
MODSECURITY_NGINX_TAG
52+
53+
#define MODSECURITY_NGINX_VERSION_NUM MODSECURITY_NGINX_MAJOR \
54+
MODSECURITY_NGINX_MINOR MODSECURITY_NGINX_PATCHLEVEL \
55+
MODSECURITY_NGINX_TAG_NUM
56+
2957
typedef struct {
3058
ngx_str_t name;
3159
ngx_str_t value;

0 commit comments

Comments
 (0)