-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:
shin 2000-02-15 18:24:27 +00:00
parent f57ea716fd
commit 0802f60e0b

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;