Browse Source

Fix a typo

pull/886/head
Max Lv 8 years ago
parent
commit
3c6bec8d6a
2 changed files with 2 additions and 2 deletions
  1. 2
      src/acl.h
  2. 2
      src/server.c

2
src/acl.h

@ -26,7 +26,7 @@
#define BLACK_LIST 0
#define WHITE_LIST 1
#define MAX_TRIES 128
#define MAX_TRIES 64
#define MALICIOUS 8
#define SUSPICIOUS 4
#define BAD 2

2
src/server.c

@ -265,7 +265,7 @@ is_header_complete(const buffer_t *buf)
// IP V6
header_len += sizeof(struct in6_addr);
} else {
return 1;
return 0;
}
// len of port

Loading…
Cancel
Save