Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300597
b: refs/heads/master
c: e35f30c
h: refs/heads/master
i:
  300595: 77b7802
v: v3
  • Loading branch information
Alexey I. Froloff authored and David S. Miller committed Apr 12, 2012
1 parent fcae421 commit 4f7ece8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 64d176fce1a28c7cef2f239936b760ed61c59586
refs/heads/master: e35f30c131a562bafd069820a6983fd4023e606e
1 change: 1 addition & 0 deletions trunk/include/net/ndisc.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ enum {
__ND_OPT_ARRAY_MAX,
ND_OPT_ROUTE_INFO = 24, /* RFC4191 */
ND_OPT_RDNSS = 25, /* RFC5006 */
ND_OPT_DNSSL = 31, /* RFC6106 */
__ND_OPT_MAX
};

Expand Down
4 changes: 3 additions & 1 deletion trunk/net/ipv6/ndisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
/*
* Changes:
*
* Alexey I. Froloff : RFC6106 (DNSSL) support
* Pierre Ynard : export userland ND options
* through netlink (RDNSS support)
* Lars Fenneberg : fixed MTU setting on receipt
Expand Down Expand Up @@ -228,7 +229,8 @@ static struct nd_opt_hdr *ndisc_next_option(struct nd_opt_hdr *cur,

static inline int ndisc_is_useropt(struct nd_opt_hdr *opt)
{
return opt->nd_opt_type == ND_OPT_RDNSS;
return opt->nd_opt_type == ND_OPT_RDNSS ||
opt->nd_opt_type == ND_OPT_DNSSL;
}

static struct nd_opt_hdr *ndisc_next_useropt(struct nd_opt_hdr *cur,
Expand Down

0 comments on commit 4f7ece8

Please sign in to comment.