summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_tos.c
diff options
context:
space:
mode:
authorlaforge <laforge>2001-08-06 18:50:21 +0000
committerlaforge <laforge>2001-08-06 18:50:21 +0000
commita1187fff744cf407c010fb52a482950d958dbf02 (patch)
treed7a51c0752b5a80c8408692277f2b660ce4dfc2b /extensions/libipt_tos.c
parente23a23bf42e4a963e39c7a858351aacb109e0b8b (diff)
- added patch to support statically linking of iptables
- iptables-save/-restore is no longer experimental
Diffstat (limited to 'extensions/libipt_tos.c')
-rw-r--r--extensions/libipt_tos.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/libipt_tos.c b/extensions/libipt_tos.c
index f1d3b2a..a1ef4e6 100644
--- a/extensions/libipt_tos.c
+++ b/extensions/libipt_tos.c
@@ -9,6 +9,7 @@
#include <linux/netfilter_ipv4/ipt_tos.h>
/* TOS names and values. */
+static
struct TOS_value
{
unsigned char TOS;
@@ -151,6 +152,7 @@ save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
((struct ipt_tos_info *)match->data)->invert, 0);
}
+static
struct iptables_match tos
= { NULL,
"tos",