mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-08 21:54:57 +02:00
TARPIT: mark oldtcphdr const
This commit is contained in:
@@ -54,7 +54,8 @@
|
|||||||
static void tarpit_tcp(struct sk_buff *oldskb, unsigned int hook,
|
static void tarpit_tcp(struct sk_buff *oldskb, unsigned int hook,
|
||||||
unsigned int mode)
|
unsigned int mode)
|
||||||
{
|
{
|
||||||
struct tcphdr _otcph, *oth, *tcph;
|
struct tcphdr _otcph, *tcph;
|
||||||
|
const struct tcphdr *oth;
|
||||||
unsigned int addr_type = RTN_UNSPEC;
|
unsigned int addr_type = RTN_UNSPEC;
|
||||||
struct sk_buff *nskb;
|
struct sk_buff *nskb;
|
||||||
const struct iphdr *oldhdr;
|
const struct iphdr *oldhdr;
|
||||||
|
Reference in New Issue
Block a user