Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 355496 Details for
Bug 480374
net-misc/gopenvpn - GNOME UI for net-misc/openvpn
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
up/down script adaption
gentoo-up-down-script.patch (text/plain), 920 bytes, created by
Joakim Tjernlund
on 2013-08-09 14:11:16 UTC
(
hide
)
Description:
up/down script adaption
Filename:
MIME Type:
Creator:
Joakim Tjernlund
Created:
2013-08-09 14:11:16 UTC
Size:
920 bytes
patch
obsolete
>diff --git a/src/gopenvpn.c b/src/gopenvpn.c >index fdacc77..e946731 100644 >--- a/src/gopenvpn.c >+++ b/src/gopenvpn.c >@@ -392,7 +392,7 @@ void vpn_config_start(VPNConfig *self) > { > VPNApplet *applet = self->applet; > char *ovpn_args[] = {PKEXEC_BINARY_PATH, OPENVPN_BINARY_PATH, NULL, NULL, NULL, NULL, NULL, NULL, >- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL}; >+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL}; > int s; > pid_t pid; > socklen_t namelen; >@@ -442,6 +442,11 @@ void vpn_config_start(VPNConfig *self) > ovpn_args[11] = g_strdup_printf("%d", port); > ovpn_args[12] = "--config"; > ovpn_args[13] = g_strdup_printf("%s", self->file); >+ ovpn_args[14] = "--up"; >+ ovpn_args[15] = "/etc/openvpn/up.sh"; >+ ovpn_args[16] = "--down-pre"; >+ ovpn_args[17] = "--down"; >+ ovpn_args[18] = "/etc/openvpn/down.sh"; > > /* Start the openvpn subprocess */ > pid = fork();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 480374
:
355494
| 355496 |
355498