Function

NM-1.0NMip_route_attribute_validateSince 1.8

  • Validates a route attribute, i.e. checks that the attribute is a known one and the value is of the correct type and well-formed.

    Parameters

    • name: string

      the attribute name

    • value: GLib.Variant

      the attribute value

    • family: number

      IP address family of the route

    Returns [boolean, boolean]

    true if the attribute is valid, false otherwise

    1.8