-P option was not enabled, so enable it

(The option specify IPsec policy for rtadvd to receive Router Renumbering
messages.)

Approved by: jkh
This commit is contained in:
Yoshinobu Inoue 2000-02-15 18:24:27 +00:00
parent 9bf48e31c5
commit b85d5dc850
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57238

View File

@ -151,7 +151,12 @@ main(argc, argv)
openlog(*argv, LOG_NDELAY|LOG_PID, LOG_DAEMON);
/* get command line options and arguments */
while ((ch = getopt(argc, argv, "c:dDfR:s")) != -1) {
#if defined(IPSEC) && defined(IPSEC_POLICY_IPSEC)
while ((ch = getopt(argc, argv, "c:dDfP:R:s")) != -1)
#else
while ((ch = getopt(argc, argv, "c:dDfR:s")) != -1)
#endif
{
switch(ch) {
case 'c':
conffile = optarg;