Skip to content
  • Thomas Haller's avatar
    cli: sort `nmcli device` output by active-connection first · 38ad9e52
    Thomas Haller authored
    Previously, we first sort by the device's state, then by the active
    connection's state. Contrast to `nmcli connection`, which first sorts
    by the active connection's state.
    
    It means, the sort order is somewhat different. Fix that.
    
    In most cases, that shouldn't make a difference, because the
    device's state and the active-connection's state should
    correspond. However, it matters as we now treat external activations
    different, and that is tied to the active connection.
    38ad9e52