View | Details | Raw Unified | Return to bug 116949
Collapse All | Expand All

(-)config.c (-5 / +4 lines)
Lines 15-21 Link Here
15
   along with this program; if not, write to the Free Software
15
   along with this program; if not, write to the Free Software
16
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
17
18
   $Id: config.c 133 2007-02-16 17:22:06Z Maurice Massar $
18
   $Id: config.c 133 2007-10-05 13:22:06Z Raffaele De Lorenzo $
19
*/
19
*/
20
20
21
#define _GNU_SOURCE
21
#define _GNU_SOURCE
Lines 238-252 Link Here
238
{
238
{
239
	return "10000";
239
	return "10000";
240
}
240
}
241
241
static const char *config_def_app_version(void)
242
static const char *config_def_app_version(void)
242
{
243
{
243
        struct utsname uts;
244
        char *version;
244
        char *version;
245
245
	asprintf(&version, "Cisco Systems VPN Client %s:%s", "4.8.00 (0490)", "Linux");
246
        uname(&uts);
247
        asprintf(&version, "Cisco Systems VPN Client %s:%s", VERSION, uts.sysname);
248
        return version;
246
        return version;
249
}
247
}
248
250
static const char *config_def_script(void)
249
static const char *config_def_script(void)
251
{
250
{
252
	return "/usr/local/sbin/vpnc-script";
251
	return "/usr/local/sbin/vpnc-script";

Return to bug 116949