Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10094
b: refs/heads/master
c: 5ed688a
h: refs/heads/master
v: v3
  • Loading branch information
Jochen Friedrich authored and Arnaldo Carvalho de Melo committed Oct 25, 2005
1 parent b14ddfc commit e38ad15
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 5ac660ee1334b401450280cd282113b2c18398f5
refs/heads/master: 5ed688a7162ff8d28d7cf98b34a1f825e4c2c2ac
4 changes: 3 additions & 1 deletion trunk/include/net/llc_pdu.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,10 @@ static inline void llc_pdu_decode_sa(struct sk_buff *skb, u8 *sa)
{
if (skb->protocol == ntohs(ETH_P_802_2))
memcpy(sa, eth_hdr(skb)->h_source, ETH_ALEN);
else if (skb->protocol == ntohs(ETH_P_TR_802_2))
else if (skb->protocol == ntohs(ETH_P_TR_802_2)) {
memcpy(sa, tr_hdr(skb)->saddr, ETH_ALEN);
*sa &= 0x7F;
}
}

/**
Expand Down

0 comments on commit e38ad15

Please sign in to comment.