vpn: Accept also "true" or "1" as a boolean value
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Wed, 22 Aug 2012 08:28:01 +0000 (11:28 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 23 Aug 2012 11:20:10 +0000 (14:20 +0300)
commitb852e57ba2f0c69688755aa1df97ec51f5988e3f
treed16a8083436897fedb09182b2f5c01b8d9ce9467
parent3a8be9689f01e359a3325b1a9afbfb653883aed1
vpn: Accept also "true" or "1" as a boolean value

Currently user is able to set the boolean VPN config value
only by setting the variable to "yes". This is not very
intuitive so accept also the value of "true" or "1".
plugins/l2tp.c
plugins/pptp.c
plugins/vpnc.c