VintageNet.Route.IPRoute.clear_a_route

You're seeing just the function clear_a_route, go back to VintageNet.Route.IPRoute module for more information.

Specs

clear_a_route() :: :ok | {:error, any()}

Clear one default route out of the main table for any interface

Link to this function

clear_a_route(ifname, table_index \\ :main)

View Source

Specs

clear_a_route(VintageNet.ifname(), VintageNet.Route.Calculator.table_index()) ::
  :ok | {:error, any()}

Clear one default route that goes to the specified interface