2008-04-15 Dan Williams <dcbw@redhat.com>

Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>

	* src/backends/NetworkManagerArch.c
	  src/backends/NetworkManagerDebian.c
	  src/backends/NetworkManagerFrugalware.c
	  src/backends/NetworkManagerGeneric.c
	  src/backends/NetworkManagerGeneric.h
	  src/backends/NetworkManagerGentoo.c
	  src/backends/NetworkManagerMandriva.c
	  src/backends/NetworkManagerPaldo.c
	  src/backends/NetworkManagerRedHat.c
	  src/backends/NetworkManagerSlackware.c
	  src/backends/NetworkManagerSuSE.c
	  src/NetworkManagerSystem.h
		- flush_routes -> flush_ip4_routes
		- flush_addresses -> flush_ip4_addresses

	* src/NetworkManagerSystem.c
	  src/nm-device.c
	  src/vpn-manager/nm-vpn-connection.c
		- flush only IPv4 addresses; don't touch IPv6 routes and addresses



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3563 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams
2008-04-15 20:59:37 +00:00
parent 1e1c99afba
commit 1c885c6aa1
16 changed files with 161 additions and 137 deletions

View File

@@ -54,48 +54,48 @@ void nm_system_init (void)
}
/*
* nm_system_device_flush_routes
* nm_system_device_flush_ip4_routes
*
* Flush all routes associated with a network device
*
*/
void nm_system_device_flush_routes (NMDevice *dev)
void nm_system_device_flush_ip4_routes (NMDevice *dev)
{
nm_generic_device_flush_routes (dev);
nm_generic_device_flush_ip4_routes (dev);
}
/*
* nm_system_device_flush_routes_with_iface
* nm_system_device_flush_ip4_routes_with_iface
*
* Flush all routes associated with a network device
*
*/
void nm_system_device_flush_routes_with_iface (const char *iface)
void nm_system_device_flush_ip4_routes_with_iface (const char *iface)
{
nm_generic_device_flush_routes_with_iface (iface);
nm_generic_device_flush_ip4_routes_with_iface (iface);
}
/*
* nm_system_device_flush_addresses
* nm_system_device_flush_ip4_addresses
*
* Flush all network addresses associated with a network device
*
*/
void nm_system_device_flush_addresses (NMDevice *dev)
void nm_system_device_flush_ip4_addresses (NMDevice *dev)
{
nm_generic_device_flush_addresses (dev);
nm_generic_device_flush_ip4_addresses (dev);
}
/*
* nm_system_device_flush_addresses_with_iface
* nm_system_device_flush_ip4_addresses_with_iface
*
* Flush all network addresses associated with a network device
*
*/
void nm_system_device_flush_addresses_with_iface (const char *iface)
void nm_system_device_flush_ip4_addresses_with_iface (const char *iface)
{
nm_generic_device_flush_addresses_with_iface (iface);
nm_generic_device_flush_ip4_addresses_with_iface (iface);
}
/*