summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2003-05-25 10:44:17 +0000
committerBart De Schuymer <bdschuym@pandora.be>2003-05-25 10:44:17 +0000
commit3d7626afdadbe4a8053464a0754c07405d82b38a (patch)
tree5136506e33e4624ce371ad13723b8dc3efd5bc02 /kernel
parent3f1d9cc607b4dd70aa56999f0fb6f5f8fdc56666 (diff)
*** empty log message ***
Diffstat (limited to 'kernel')
-rw-r--r--kernel/linux2.5/net/bridge/netfilter/ebt_802_3.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/linux2.5/net/bridge/netfilter/ebt_802_3.c b/kernel/linux2.5/net/bridge/netfilter/ebt_802_3.c
index 7817805..3f9615f 100644
--- a/kernel/linux2.5/net/bridge/netfilter/ebt_802_3.c
+++ b/kernel/linux2.5/net/bridge/netfilter/ebt_802_3.c
@@ -18,7 +18,6 @@ static int ebt_filter_802_3(const struct sk_buff *skb, const struct net_device *
struct ebt_802_3_info *info = (struct ebt_802_3_info *)data;
struct ebt_802_3_hdr *hdr = (struct ebt_802_3_hdr *)skb->mac.ethernet;
uint16_t type = hdr->llc.ui.ctrl & IS_UI ? hdr->llc.ui.type : hdr->llc.ni.type;
-
if (info->bitmask & EBT_802_3_SAP) {
if (FWINV(info->sap != hdr->llc.ui.ssap, EBT_802_3_SAP))
@@ -26,7 +25,7 @@ static int ebt_filter_802_3(const struct sk_buff *skb, const struct net_device *
if (FWINV(info->sap != hdr->llc.ui.dsap, EBT_802_3_SAP))
return EBT_NOMATCH;
}
-
+
if (info->bitmask & EBT_802_3_TYPE) {
if (!(hdr->llc.ui.dsap == CHECK_TYPE && hdr->llc.ui.ssap == CHECK_TYPE))
return EBT_NOMATCH;
@@ -73,4 +72,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
-