[patch] nm_system_vpn_device_unset_from_ip4_config - for ipsec vpn



hey,

  The attached patch is to support ipsec based vpn daemons. The patch
removes the assert to check for iface != NULL, in the ipsec case we
don't have interface to route.  This one fires up when we disconnect the
ipsec based vpn service (novellvpn). is it time to think of a flag to
differentiate VPNs by category :-) ?

Thanks,
suresh.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/NetworkManager/ChangeLog,v
retrieving revision 1.737
diff -u -r1.737 ChangeLog
--- ChangeLog	13 Jan 2006 16:53:55 -0000	1.737
+++ ChangeLog	13 Jan 2006 17:16:34 -0000
@@ -1,3 +1,9 @@
+2006-01-13  Sureshkumar T  <tsureshkumar novell com>
+
+	* src/NetworkManagerSystem.c
+	(nm_system_vpn_device_unset_from_ip4_config): do not assert for
+	iface while disconnect, as ipsec vpn's don't have tunnel interface.
+
 2006-01-13  Dan Williams  <dcbw redhat com>
 
 	* src/nm-device.c
Index: src/NetworkManagerSystem.c
===================================================================
RCS file: /cvs/gnome/NetworkManager/src/NetworkManagerSystem.c,v
retrieving revision 1.29
diff -u -r1.29 NetworkManagerSystem.c
--- src/NetworkManagerSystem.c	11 Jan 2006 21:07:28 -0000	1.29
+++ src/NetworkManagerSystem.c	13 Jan 2006 17:16:34 -0000
@@ -356,7 +356,6 @@
 {
 	g_return_val_if_fail (named != NULL, FALSE);
 	g_return_val_if_fail (active_device != NULL, FALSE);
-	g_return_val_if_fail (iface != NULL, FALSE);
 	g_return_val_if_fail (config != NULL, FALSE);
 
 	nm_named_manager_remove_ip4_config (named, config);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]