mirror of
https://github.com/hufrea/byedpi.git
synced 2024-12-22 14:25:44 +00:00
fix compile without -O2
This commit is contained in:
parent
f884b549d2
commit
3fee8d5aed
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]
|
return (dst->sin6_port >= p[0]
|
||||||
&& dst->sin6_port <= p[1]);
|
&& dst->sin6_port <= p[1]);
|
||||||
|
Loading…
Reference in New Issue
Block a user