diff --git a/components/ud3tn/bundle_processor.c b/components/ud3tn/bundle_processor.c index 7398208..7458a4f 100644 --- a/components/ud3tn/bundle_processor.c +++ b/components/ud3tn/bundle_processor.c @@ -694,7 +694,7 @@ static enum ud3tn_result bundle_forward( int rv = -1; enum bundle_dispatch_reason dr = DISPATCH_REASON_NO_FIB_ENTRY; - if (dst_entry && (dst_entry->flags & FIB_LINK_FLAG_DIRECT) != 0) { + if (dst_entry && HAS_FLAG(dst_entry->flags, FIB_LINK_FLAG_DIRECT)) { LOGF_DEBUG( "BundleProcessor: Attempting direct dispatch for bundle %p via link to %s (status = %d).", bundle,