diff --git a/llarp/iwp_link.cpp b/llarp/iwp_link.cpp index 0942dfa29..20d4a8573 100644 --- a/llarp/iwp_link.cpp +++ b/llarp/iwp_link.cpp @@ -400,7 +400,7 @@ namespace iwp bool flags_agree(byte_t flags) const { - return (rxflags & flags) & (txflags & flags) == flags; + return ((rxflags & flags) & (txflags & flags)) == flags; } void