diff options
author | shin <shin@FreeBSD.org> | 2000-02-15 18:24:27 +0000 |
---|---|---|
committer | shin <shin@FreeBSD.org> | 2000-02-15 18:24:27 +0000 |
commit | 0802f60e0b28548477966d4b4472499f717bdf6b (patch) | |
tree | ada9f79ca6c0ec9ac2059da860ea2611f0f38d69 /usr.sbin/rtadvd | |
parent | f57ea716fd6cca3681435b0dc8a47ce882d8eab6 (diff) | |
download | FreeBSD-src-0802f60e0b28548477966d4b4472499f717bdf6b.zip FreeBSD-src-0802f60e0b28548477966d4b4472499f717bdf6b.tar.gz |
-P option was not enabled, so enable it
(The option specify IPsec policy for rtadvd to receive Router Renumbering
messages.)
Approved by: jkh
Diffstat (limited to 'usr.sbin/rtadvd')
-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 03ed974..4a9d276 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; |