Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26782
b: refs/heads/master
c: d8fd0a7
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Dobriyan authored and David S. Miller committed May 16, 2006
1 parent cd54b9e commit f3ac535
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 6599519e9c6c56ff0f9a4ffd53f90c5b65b902f4
refs/heads/master: d8fd0a73169e90022dc3ccf3083ca24573b44b5c
2 changes: 1 addition & 1 deletion trunk/net/ipv6/netfilter/ip6t_eui64.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ match(const struct sk_buff *skb,

memset(eui64, 0, sizeof(eui64));

if (eth_hdr(skb)->h_proto == ntohs(ETH_P_IPV6)) {
if (eth_hdr(skb)->h_proto == htons(ETH_P_IPV6)) {
if (skb->nh.ipv6h->version == 0x6) {
memcpy(eui64, eth_hdr(skb)->h_source, 3);
memcpy(eui64 + 5, eth_hdr(skb)->h_source + 3, 3);
Expand Down

0 comments on commit f3ac535

Please sign in to comment.