diff options
Diffstat (limited to 'src/backends/NetworkManagerPaldo.c')
-rw-r--r-- | src/backends/NetworkManagerPaldo.c | 31 |
1 files changed, 6 insertions, 25 deletions
diff --git a/src/backends/NetworkManagerPaldo.c b/src/backends/NetworkManagerPaldo.c index cb96b7e37c..9e457df449 100644 --- a/src/backends/NetworkManagerPaldo.c +++ b/src/backends/NetworkManagerPaldo.c @@ -76,26 +76,17 @@ void nm_system_device_flush_routes_with_iface (const char *iface) /* - * nm_system_device_add_default_route_via_device + * nm_system_device_replace_default_route * * Add default route to the given device * */ -void nm_system_device_add_default_route_via_device (NMDevice *dev) +void +nm_system_device_replace_default_route (const char *iface, + guint32 gw, + guint32 mss) { - nm_generic_device_add_default_route_via_device (dev); -} - - -/* - * nm_system_device_add_default_route_via_device_with_iface - * - * Add default route to the given device - * - */ -void nm_system_device_add_default_route_via_device_with_iface (const char *iface) -{ - nm_generic_device_add_default_route_via_device_with_iface (iface); + nm_generic_device_replace_default_route (iface, gw, mss); } @@ -527,13 +518,3 @@ gboolean nm_system_should_modify_resolv_conf (void) return TRUE; } -/* - * nm_system_get_mtu - * - * Return a user-provided or system-mandated MTU for this device or zero if - * no such MTU is provided. - */ -unsigned int nm_system_get_mtu (NMDevice *dev) -{ - return 0; -} |