Skip to content
  • Thomas Haller's avatar
    core: fix matching routes for assuming connections · 5f574365
    Thomas Haller authored
    If the connection candidate contains a static route
    without route-metric, but overrides the default
    route-metric, matching would have failed:
    
      ipv4.route-metric:          200
      ipv4.routes:                { ip = 192.168.5.0/32 }
    
    Then, we must not compare existing routes using the device's
    metric, but must use the overwrite from the connection.
    5f574365