mirror of
https://github.com/hufrea/byedpi.git
synced 2025-03-14 12:58:48 +03:00
fix compile without -O2
This commit is contained in:
parent
f884b549d2
commit
3fee8d5aed
1 changed files with 1 additions and 1 deletions
2
extend.c
2
extend.c
|
@ -90,7 +90,7 @@ int mode_add_get(struct sockaddr_ina *dst, int m)
|
|||
}
|
||||
|
||||
|
||||
inline bool check_port(uint16_t *p, struct sockaddr_in6 *dst)
|
||||
static inline bool check_port(uint16_t *p, struct sockaddr_in6 *dst)
|
||||
{
|
||||
return (dst->sin6_port >= p[0]
|
||||
&& dst->sin6_port <= p[1]);
|
||||
|
|
Loading…
Add table
Reference in a new issue