Skip to content
  • Francesco Giudici's avatar
    libnm-core: json: share code to load defaults in team(-port).config · fdd41852
    Francesco Giudici authored
    Move code from _nm_utils_team_config_get to the brand new
    _json_team_add_defaults function without any change.
    Then remove the duplicated code from _nm_utils_team_config_equal and
    leverage the new function. Here the only functional change is that
    the defaults for "notify_peers" and "mcast_rejoin" for the
    "activebackup" runner are added (the only case in which their default
    values are different than 0).
    fdd41852