diff options
Diffstat (limited to 'usr.sbin/rtadvd/rtadvd.c')
-rw-r--r-- | usr.sbin/rtadvd/rtadvd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/rtadvd/rtadvd.c b/usr.sbin/rtadvd/rtadvd.c index 03ed974f656a..4a9d276b4ee8 100644 --- a/usr.sbin/rtadvd/rtadvd.c +++ b/usr.sbin/rtadvd/rtadvd.c @@ -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; |