Skip to content
  • Thomas Haller's avatar
    policy: track autoconnect-blocked-reasons as flags · 8d2d9b07
    Thomas Haller authored
    Extend the enum and API to use flags for the blocked reasons.
    A connection is blocked from autoconnect if it has any reason
    set.
    
    There is no behavioral change in this patch beyond that, because
    where we previously would set blocked-reason NONE, we would still
    clear all flags, and not only a particular one.
    
    Later of course, we want to set and clear individual flags
    independently.
    8d2d9b07