vpnc: revert default local port to 500

This commit is contained in:
Thomas Strobel 2015-08-05 21:55:02 +02:00
parent 2d26a0f8aa
commit 4661158164

View File

@ -34,10 +34,6 @@ stdenv.mkDerivation rec {
substituteInPlace "pcf2vpnc" \ substituteInPlace "pcf2vpnc" \
--replace "/usr/bin/perl" "${perl}/bin/perl" --replace "/usr/bin/perl" "${perl}/bin/perl"
# use random local port by default to reduce clashes with
# other IPSec services like, e.g., strongSwan
echo "Local Port 0" >> vpnc.conf
''; '';
postInstall = '' postInstall = ''