Example #1
0
    public static bool DeleteRoute(NetRoute o)
    {
#if DEBUG_TUN
        Log.Verbose("DeleteRoute {InterNetwork} {Address} {Cidr} {Gateway} {Interface} {Metric}",
                    AddressFamily.InterNetwork,
                    o.Network,
                    o.Cidr,
                    o.Gateway,
                    (ulong)o.InterfaceIndex,
                    o.Metric);
#endif
        return(RouteHelper.DeleteRoute(AddressFamily.InterNetwork, o.Network, o.Cidr, o.Gateway, (ulong)o.InterfaceIndex, o.Metric));
    }