Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3911
b: refs/heads/master
c: 4095ebf
h: refs/heads/master
i:
  3909: a9a2936
  3907: 324af7a
  3903: b691cd9
v: v3
  • Loading branch information
Harald Welte authored and David S. Miller committed Jun 28, 2005
1 parent dfff076 commit bee961b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 85c1937b2693a0d4e39bb2644d720ed3703b9830
refs/heads/master: 4095ebf1e641b0f37ee1cd04c903bb85cf4ed25b
7 changes: 4 additions & 3 deletions trunk/net/ipv4/netfilter/ipt_CLUSTERIP.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <linux/netfilter_ipv4/ipt_CLUSTERIP.h>
#include <linux/netfilter_ipv4/ip_conntrack.h>

#define CLUSTERIP_VERSION "0.6"
#define CLUSTERIP_VERSION "0.7"

#define DEBUG_CLUSTERIP

Expand Down Expand Up @@ -524,8 +524,9 @@ arp_mangle(unsigned int hook,
|| arp->ar_pln != 4 || arp->ar_hln != ETH_ALEN)
return NF_ACCEPT;

/* we only want to mangle arp replies */
if (arp->ar_op != htons(ARPOP_REPLY))
/* we only want to mangle arp requests and replies */
if (arp->ar_op != htons(ARPOP_REPLY)
&& arp->ar_op != htons(ARPOP_REQUEST))
return NF_ACCEPT;

payload = (void *)(arp+1);
Expand Down

0 comments on commit bee961b

Please sign in to comment.