diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2003-06-19 19:48:32 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2003-06-19 19:48:32 +0000 |
commit | 82f4cf40dd3e5f8718385ae09b05a8a33ce6743f (patch) | |
tree | cbe9ab73084a49b567627d3ac4ee7eae040b12cd /userspace | |
parent | 72989595009036baf35148ab59962f840a285b2f (diff) |
arp FORWARD chain: see bridged arp packets
Diffstat (limited to 'userspace')
-rw-r--r-- | userspace/arptables/libarptc/libarptc_incl.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/userspace/arptables/libarptc/libarptc_incl.c b/userspace/arptables/libarptc/libarptc_incl.c index f1b1d33..9df02e7 100644 --- a/userspace/arptables/libarptc/libarptc_incl.c +++ b/userspace/arptables/libarptc/libarptc_incl.c @@ -1,4 +1,4 @@ -/* Library which manipulates firewall rules. Version $Revision: 1.1 $ */ +/* Library which manipulates firewall rules. Version $Revision: 1.2 $ */ /* Architecture of firewall rules is as follows: * @@ -22,9 +22,11 @@ GET_TARGET(STRUCT_ENTRY *e) static int sockfd = -1; static void *arptc_fn = NULL; -static const char *hooknames[] -= { [NF_ARP_IN] "INPUT", - [NF_ARP_OUT] "OUTPUT", +static const char *hooknames[] = +{ + [NF_ARP_IN] "INPUT", + [NF_ARP_OUT] "OUTPUT", + [NF_ARP_FORWARD] "FORWARD", }; struct counter_map |