[PATCH] avoid multiple "domain" entries in resolv.conf

David Woodhouse dwmw2 at infradead.org
Wed Mar 23 04:23:02 PDT 2016


On Mon, 2016-03-14 at 12:54 -0700, Corey Hickey wrote:
> This fixes a bug when $CISCO_DEF_DOMAIN contains multiple domains. When
> resolv.conf has a line like this:
> 
> domain example.com example.org
> 
> ...then the "host" command fails:
> 
> $ host web001
> host: parse of /etc/resolv.conf failed
> 
> This patch makes vpnc-script use the first entry in CISCO_DEF_DOMAIN for
> the "domain" entry.
> ---
>  vpnc-script | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)

Thanks. Please could I have that with a Signed-off-by: as described at 
http://www.infradead.org/openconnect/contribute.html

-- 
dwmw2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5691 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20160323/6279e76c/attachment.bin>


More information about the openconnect-devel mailing list