~ubuntu-branches/ubuntu/trusty/openvpn/trusty-security

« back to all changes in this revision

Viewing changes to route.c

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2009-05-05 14:25:37 UTC
  • mfrom: (1.1.12 upstream) (10.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090505142537-vq38z4k80bpltxb9
Tags: 2.1~rc15-1ubuntu1
* Merge from debian unstable (LP: #372358), remaining changes:
  - debian/openvpn.init.d: 
    - Do not use start-stop-daemon and use < /dev/null to avoid blocking boot
    - show per-VPN result messages 
    - add "--script-security 2" by default for backwards compatibility
    - Added lsb-base>=3.2-14 depend to allow status_of_proc()

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 *             packet encryption, packet authentication, and
6
6
 *             packet compression.
7
7
 *
8
 
 *  Copyright (C) 2002-2008 Telethra, Inc. <sales@openvpn.net>
 
8
 *  Copyright (C) 2002-2008 OpenVPN Technologies, Inc. <sales@openvpn.net>
9
9
 *
10
10
 *  This program is free software; you can redistribute it and/or modify
11
11
 *  it under the terms of the GNU General Public License version 2
827
827
 
828
828
#elif defined (WIN32)
829
829
 
830
 
  argv_printf (&argv, "%s%s ADD %s MASK %s %s",
 
830
  argv_printf (&argv, "%s%sc ADD %s MASK %s %s",
831
831
               get_win_sys_path(),
832
832
               WIN_ROUTE_PATH_SUFFIX,
833
833
               network,
1007
1007
 
1008
1008
#elif defined (WIN32)
1009
1009
  
1010
 
  argv_printf (&argv, "%s%s DELETE %s MASK %s %s",
 
1010
  argv_printf (&argv, "%s%sc DELETE %s MASK %s %s",
1011
1011
               get_win_sys_path(),
1012
1012
               WIN_ROUTE_PATH_SUFFIX,
1013
1013
               network,