From 614424f4238bbb4d372f88f6d5442871c7843c25 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Wed, 13 Jun 2012 23:32:53 +0100 Subject: [PATCH] $CISCO_SPLIT_DNS is separated by commas in vpnc, not spaces Signed-off-by: David Woodhouse --- tun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tun.c b/tun.c index 464d8823..d708caa3 100644 --- a/tun.c +++ b/tun.c @@ -330,7 +330,7 @@ static void set_script_env(struct openconnect_info *vpninfo) dns = dns->next; if (!dns) break; - *(p++) = ' '; + *(p++) = ','; } setenv("CISCO_SPLIT_DNS", list, 1); free(list);