[network-manager-openswan/dcbw/avesh-fixes: 8/10] trivial: remove some dead code



commit bc43f24b0a7296b4cdded8d4ca204bd81174e064
Author: Avesh Agarwal <avagarwa redhat com>
Date:   Tue Dec 10 14:38:08 2013 -0500

    trivial: remove some dead code

 src/nm-openswan-service-helper.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/nm-openswan-service-helper.c b/src/nm-openswan-service-helper.c
index 55237c7..3a16aae 100644
--- a/src/nm-openswan-service-helper.c
+++ b/src/nm-openswan-service-helper.c
@@ -270,9 +270,8 @@ main (int argc, char *argv[])
                g_hash_table_insert (config, NM_VPN_PLUGIN_IP4_CONFIG_PTP, val);
        else
                helper_failed (connection, "IP4 PTP Address");
-//#if 0
+
        /* Netmask */
-       //tmp = getenv ("INTERNAL_IP4_NETMASK");
        tmp = nmask;
        if (tmp && inet_pton (AF_INET, tmp, &temp_addr) > 0) {
                GValue *value;
@@ -283,7 +282,6 @@ main (int argc, char *argv[])
 
                g_hash_table_insert (config, NM_VPN_PLUGIN_IP4_CONFIG_PREFIX, value);
        }
-//#endif
 
        /* DNS */
        val = addr_list_to_gvalue (getenv ("PLUTO_CISCO_DNS_INFO"));


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