Hi,

On Tue, Nov 08, 2016 at 02:55:27PM +0200, sam...@openvpn.net wrote:
> +grep EXPECT_IFCONFIG4_$TESTNUM $RC > /dev/null 2>&1

NAK.  This will grep for stuff like "EXPECT_IFCONFIG4_1", and if the
RC file has

EXPECT_IFCONFIG4_1a=10.194.1.54

the grep will be successful, and "EXPECT_IFCONFIG4_1" will never be added.

So this needs to be something like

  
grep EXPECT_IFCONFIG4_$TESTNUM= $RC > /dev/null 2>&1
                             ^^
and

grep EXPECT_IFCONFIG6_$TESTNUM= $RC > /dev/null 2>&1

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to