diff options
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/ndisc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 471ed24aabae..e363bbc2420d 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c | |||
@@ -117,6 +117,7 @@ static const struct neigh_ops ndisc_direct_ops = { | |||
117 | struct neigh_table nd_tbl = { | 117 | struct neigh_table nd_tbl = { |
118 | .family = AF_INET6, | 118 | .family = AF_INET6, |
119 | .key_len = sizeof(struct in6_addr), | 119 | .key_len = sizeof(struct in6_addr), |
120 | .protocol = cpu_to_be16(ETH_P_IPV6), | ||
120 | .hash = ndisc_hash, | 121 | .hash = ndisc_hash, |
121 | .constructor = ndisc_constructor, | 122 | .constructor = ndisc_constructor, |
122 | .pconstructor = pndisc_constructor, | 123 | .pconstructor = pndisc_constructor, |