net/poptop Segmentation fault () from use options [-h] [--help]
zlopi Ru
zlopi.ru at gmail.com
Thu Nov 20 12:57:39 UTC 2008
OS: feebsd 6.2 and freebsd 7.0p5
#pptpd --help
pptpd v1.3.4
Usage: pptpd [options], where options are:
[-c] [--conf file] Specifies the config file to read default
settings from (default is /usr/local/etc/pptpd.conf).
[-d] [--debug] Turns on debugging (to syslog).
[-e] [--ppp file] Use alternate pppd binary, default /usr/sbin/ppp.
[-f] [--fg] Run in foreground.
[-h] [--help] Displays this help message.
[-i] [--noipparam] Suppress the passing of the client's IP address
to PPP, which is done by default otherwise.
[-l] [--listen x.x.x.x] Specifies IP of local interface to listen to.
[-p] [--pidfile file] Specifies the file to write the process ID to
(default is /var/run/pptpd.pid).
[-t] [--stimeout seconds] Specifies the timeout for the first packet.
This is a DOS protection
Segmentation fault ()
#
---------------------------------------------------------------------------------------------------------------------
patch looks so:
net/poptop/files/patch-pptpd.c
- printf(" (default is 10).\n");
+ printf(" (default is
%s).\n",STIMEOUT_DEFAULT);
----------------------------------------------------------------------------------------------------------------------
will be more correct:
- printf(" (default is 10).\n");
+ printf(" (default is
%d).\n",STIMEOUT_DEFAULT);
Thanks
More information about the freebsd-ports-bugs
mailing list