diff options
Diffstat (limited to 'net/batman-adv/send.c')
-rw-r--r-- | net/batman-adv/send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/send.c b/net/batman-adv/send.c index f261ccffbd9d..af7a6741a685 100644 --- a/net/batman-adv/send.c +++ b/net/batman-adv/send.c | |||
@@ -56,7 +56,7 @@ int send_skb_packet(struct sk_buff *skb, struct hard_iface *hard_iface, | |||
56 | 56 | ||
57 | skb_reset_mac_header(skb); | 57 | skb_reset_mac_header(skb); |
58 | 58 | ||
59 | ethhdr = (struct ethhdr *) skb_mac_header(skb); | 59 | ethhdr = (struct ethhdr *)skb_mac_header(skb); |
60 | memcpy(ethhdr->h_source, hard_iface->net_dev->dev_addr, ETH_ALEN); | 60 | memcpy(ethhdr->h_source, hard_iface->net_dev->dev_addr, ETH_ALEN); |
61 | memcpy(ethhdr->h_dest, dst_addr, ETH_ALEN); | 61 | memcpy(ethhdr->h_dest, dst_addr, ETH_ALEN); |
62 | ethhdr->h_proto = __constant_htons(ETH_P_BATMAN); | 62 | ethhdr->h_proto = __constant_htons(ETH_P_BATMAN); |