diff options
author | Niraj Kumar Goit <niraj.g@samsung.com> | 2020-12-01 18:14:19 +0530 |
---|---|---|
committer | Niraj Kumar Goit <niraj.g@samsung.com> | 2021-01-04 05:50:23 +0000 |
commit | c647a4b6f1132684c9d8b8ad71ec38d81147b278 (patch) | |
tree | b346bee32f204af1f3b13cfacb2ad3caa9a9c484 /scripts | |
parent | 04d1dbacf6aabbb44f16f6776496192964d460d8 (diff) | |
download | connman-c647a4b6f1132684c9d8b8ad71ec38d81147b278.tar.gz connman-c647a4b6f1132684c9d8b8ad71ec38d81147b278.tar.bz2 connman-c647a4b6f1132684c9d8b8ad71ec38d81147b278.zip |
Imported Upstream connman version 1.38
Change-Id: I9e650762f3b2b2a31945b66e044e67a77e3b4b12
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Diffstat (limited to 'scripts')
-rw-r--r--[-rwxr-xr-x] | 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 100755..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")) |