remove_route_by_value


Description:

public bool remove_route_by_value (IPRoute route)

Removes the first matching route that matches route.

Note that before 1.10, this function would only compare dest/prefix,next_hop,metric and ignore route attributes. Now, route must match exactly.

Parameters:

this

the SettingIPConfig

route

the route to remove

Returns:

true if the route was found and removed; false if it was not.