NetworkManager r4256 - trunk/src
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r4256 - trunk/src
- Date: Tue, 4 Nov 2008 22:26:50 +0000 (UTC)
Author: dcbw
Date: Tue Nov 4 22:26:49 2008
New Revision: 4256
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=4256&view=rev
Log:
Make which config is which clearer
Modified:
trunk/src/NetworkManagerSystem.c
Modified: trunk/src/NetworkManagerSystem.c
==============================================================================
--- trunk/src/NetworkManagerSystem.c (original)
+++ trunk/src/NetworkManagerSystem.c Tue Nov 4 22:26:49 2008
@@ -270,7 +270,7 @@
static void
add_vpn_gateway_route (NMDevice *parent_device,
const char *iface,
- NMIP4Config *config)
+ NMIP4Config *vpn_config)
{
NMIP4Config *parent_config;
guint32 parent_gw = 0, parent_prefix = 0, vpn_gw = 0, i;
@@ -294,8 +294,8 @@
}
}
- for (i = 0; i < nm_ip4_config_get_num_addresses (config); i++) {
- tmp = nm_ip4_config_get_address (config, i);
+ for (i = 0; i < nm_ip4_config_get_num_addresses (vpn_config); i++) {
+ tmp = nm_ip4_config_get_address (vpn_config, i);
if (nm_ip4_address_get_gateway (tmp)) {
vpn_gw = nm_ip4_address_get_gateway (tmp);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]