diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2006-03-20 19:55:26 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-20 19:55:26 -0500 |
commit | c4fd30eb18666972230689eb30e8f90844bce635 (patch) | |
tree | f1b8daddeb21d7d1390fa1ae820bf2b5ffa8d276 /net/ipv6/ndisc.c | |
parent | 65f5c7c1143fb8eed5bc7e7d8c926346e00fe3c0 (diff) |
[IPV6]: ADDRCONF: Add accept_ra_pinfo sysctl.
This controls whether we accept Prefix Information in RAs.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ndisc.c')
-rw-r--r-- | net/ipv6/ndisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index e17116796059..3b56be85234e 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c | |||
@@ -1191,7 +1191,7 @@ skip_defrtr: | |||
1191 | NEIGH_UPDATE_F_ISROUTER); | 1191 | NEIGH_UPDATE_F_ISROUTER); |
1192 | } | 1192 | } |
1193 | 1193 | ||
1194 | if (ndopts.nd_opts_pi) { | 1194 | if (in6_dev->cnf.accept_ra_pinfo && ndopts.nd_opts_pi) { |
1195 | struct nd_opt_hdr *p; | 1195 | struct nd_opt_hdr *p; |
1196 | for (p = ndopts.nd_opts_pi; | 1196 | for (p = ndopts.nd_opts_pi; |
1197 | p; | 1197 | p; |