NetworkManager r3551 - in trunk/vpn-daemons: openvpn openvpn/auth-dialog vpnc vpnc/auth-dialog
- From: tambeti svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r3551 - in trunk/vpn-daemons: openvpn openvpn/auth-dialog vpnc vpnc/auth-dialog
- Date: Thu, 10 Apr 2008 13:29:17 +0100 (BST)
Author: tambeti
Date: Thu Apr 10 13:29:16 2008
New Revision: 3551
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3551&view=rev
Log:
2008-04-10 Tambet Ingo <tambet gmail com>
* vpn-daemons/openvpn/auth-dialog/main.c (main):
Add the '-i' argument the applet now sends.
vpn-daemons/vpnc/auth-dialog/main.c (main): Ditto.
Modified:
trunk/vpn-daemons/openvpn/ChangeLog
trunk/vpn-daemons/openvpn/auth-dialog/main.c
trunk/vpn-daemons/vpnc/ChangeLog
trunk/vpn-daemons/vpnc/auth-dialog/main.c
Modified: trunk/vpn-daemons/openvpn/auth-dialog/main.c
==============================================================================
--- trunk/vpn-daemons/openvpn/auth-dialog/main.c (original)
+++ trunk/vpn-daemons/openvpn/auth-dialog/main.c Thu Apr 10 13:29:16 2008
@@ -340,6 +340,7 @@
static gboolean retry = FALSE;
static gchar *vpn_name = NULL;
static gchar *vpn_service = NULL;
+ static gchar *vpn_id = NULL;
GOptionContext *context;
GnomeProgram *program = NULL;
int bytes_read;
@@ -348,6 +349,7 @@
{ "reprompt", 'r', 0, G_OPTION_ARG_NONE, &retry, "Reprompt for passwords", NULL},
{ "name", 'n', 0, G_OPTION_ARG_STRING, &vpn_name, "Name of VPN connection", NULL},
{ "service", 's', 0, G_OPTION_ARG_STRING, &vpn_service, "VPN service type", NULL},
+ { "id", 'i', 0, G_OPTION_ARG_STRING, &vpn_id, "VPN service id", NULL},
{ NULL }
};
char buf[1];
Modified: trunk/vpn-daemons/vpnc/auth-dialog/main.c
==============================================================================
--- trunk/vpn-daemons/vpnc/auth-dialog/main.c (original)
+++ trunk/vpn-daemons/vpnc/auth-dialog/main.c Thu Apr 10 13:29:16 2008
@@ -239,6 +239,7 @@
static gboolean retry = FALSE;
static gchar *vpn_name = NULL;
static gchar *vpn_service = NULL;
+ static gchar *vpn_id = NULL;
GOptionContext *context;
GnomeProgram *program;
GOptionEntry entries[] =
@@ -246,6 +247,7 @@
{ "reprompt", 'r', 0, G_OPTION_ARG_NONE, &retry, "Reprompt for passwords", NULL},
{ "name", 'n', 0, G_OPTION_ARG_STRING, &vpn_name, "Name of VPN connection", NULL},
{ "service", 's', 0, G_OPTION_ARG_STRING, &vpn_service, "VPN service type", NULL},
+ { "id", 'i', 0, G_OPTION_ARG_STRING, &vpn_id, "VPN service id", NULL},
{ NULL }
};
char buf[1];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]