fix compile without -O2

This commit is contained in:
dartvader316 2024-08-05 20:19:10 +03:00
parent f884b549d2
commit 3fee8d5aed

View File

@ -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]);