netfilter: log_arp: Use ARPHRD_ETHER instead of literal '1'
authorGao Feng <fgao@ikuai8.com>
Sun, 28 Aug 2016 13:41:22 +0000 (21:41 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 30 Aug 2016 09:51:08 +0000 (11:51 +0200)
commit3cb27991aad74299af2cd55a9c12684f5b0c76c6
treee27c775c6f93761cb96e202a734a085ea27a4a40
parentad66713f5a20034b3b2a0cbc184319b2ede93f11
netfilter: log_arp: Use ARPHRD_ETHER instead of literal '1'

There is one macro ARPHRD_ETHER which defines the ethernet proto for ARP,
so we could use it instead of the literal number '1'.

Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/nf_log_arp.c