diff options
author | Nishant Chaprana <n.chaprana@samsung.com> | 2020-10-14 13:59:23 +0530 |
---|---|---|
committer | Nishant Chaprana <n.chaprana@samsung.com> | 2020-10-14 13:59:56 +0530 |
commit | dd3cccc5e67548dcc2dd6c6254ed6c97859085d5 (patch) | |
tree | 0444cde148e68a44c4295219e4c6625dbe52339d /scripts | |
parent | 6b2381a2adabea7d8309ff158ef675ff88184305 (diff) | |
download | connman-dd3cccc5e67548dcc2dd6c6254ed6c97859085d5.tar.gz connman-dd3cccc5e67548dcc2dd6c6254ed6c97859085d5.tar.bz2 connman-dd3cccc5e67548dcc2dd6c6254ed6c97859085d5.zip |
Imported Upstream version 1.38upstream/1.38
Change-Id: I7cada2367329445e1d200055e21d96e7e9c05047
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/vpn-script.c (renamed from scripts/openconnect-script.c) | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/openconnect-script.c b/scripts/vpn-script.c index 5e04144f..6e020e92 100644 --- a/scripts/openconnect-script.c +++ b/scripts/vpn-script.c @@ -54,9 +54,11 @@ static void append(DBusMessageIter *dict, const char *pattern) key = pattern; value = delim + 1; - /* We clean the environment before invoking openconnect, but - might as well still filter out the few things that get - added that we're not interested in */ + /* + * We clean the environment before invoking openconnect/vpnc, + * but might as well still filter out the few things that get + * added that we're not interested in + */ if (!strcmp(key, "PWD") || !strcmp(key, "_") || !strcmp(key, "SHLVL") || !strcmp(key, "connman_busname") || !strcmp(key, "connman_network")) |