Merge pull request #609 from coroa/ppp-ipv6

ppp: enable ipv6 support
This commit is contained in:
Peter Simons 2013-06-11 02:21:42 -07:00
commit a2328d7b80

View File

@ -18,7 +18,12 @@ stdenv.mkDerivation rec {
./nonpriv.patch
];
postPatch = "rm -v include/linux/if_pppol2tp.h";
postPatch = ''
# enable ipv6
substituteInPlace pppd/Makefile.linux \
--replace "#HAVE_INET6=y" "HAVE_INET6=y"
rm -v include/linux/if_pppol2tp.h
'';
buildInputs = [ libpcap ];