Skip to content
  • Thomas Haller's avatar
    platform,libnm: cleanup handling of TOS for routes · 75dc0fdd
    Thomas Haller authored
    - kernel ignores rtm_tos for IPv6 routes. While iproute2 accepts it,
      let libnm reject TOS attribute for routes as well.
    
    - move the tos field from NMPlatformIPRoute to NMPlatformIP4Route.
    
    - the tos field is part of the weak-id of an IPv4 route. Meaning,
      `ip route add` can add routes that only differ by their TOS.
    75dc0fdd