Skip to content

Commit cffee38

Browse files
hharrisondavem330
authored andcommitted
net: replace NIPQUAD() in net/ipv4/netfilter/
Using NIPQUAD() with NIPQUAD_FMT, %d.%d.%d.%d or %u.%u.%u.%u can be replaced with %pI4 Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 77be155 commit cffee38

10 files changed

Lines changed: 69 additions & 85 deletions

File tree

‎net/ipv4/netfilter/arp_tables.c‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,15 @@ static inline int arp_packet_match(const struct arphdr *arphdr,
142142
ARPT_INV_TGTIP)) {
143143
dprintf("Source or target IP address mismatch.\n");
144144

145-
dprintf("SRC: %u.%u.%u.%u. Mask: %u.%u.%u.%u. Target: %u.%u.%u.%u.%s\n",
146-
NIPQUAD(src_ipaddr),
147-
NIPQUAD(arpinfo->smsk.s_addr),
148-
NIPQUAD(arpinfo->src.s_addr),
145+
dprintf("SRC: %pI4. Mask: %pI4. Target: %pI4.%s\n",
146+
&src_ipaddr,
147+
&arpinfo->smsk.s_addr,
148+
&arpinfo->src.s_addr,
149149
arpinfo->invflags & ARPT_INV_SRCIP ? " (INV)" : "");
150-
dprintf("TGT: %u.%u.%u.%u Mask: %u.%u.%u.%u Target: %u.%u.%u.%u.%s\n",
151-
NIPQUAD(tgt_ipaddr),
152-
NIPQUAD(arpinfo->tmsk.s_addr),
153-
NIPQUAD(arpinfo->tgt.s_addr),
150+
dprintf("TGT: %pI4 Mask: %pI4 Target: %pI4.%s\n",
151+
&tgt_ipaddr,
152+
&arpinfo->tmsk.s_addr,
153+
&arpinfo->tgt.s_addr,
154154
arpinfo->invflags & ARPT_INV_TGTIP ? " (INV)" : "");
155155
return 0;
156156
}

‎net/ipv4/netfilter/ip_tables.c‎

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,11 @@ ip_packet_match(const struct iphdr *ip,
9494
IPT_INV_DSTIP)) {
9595
dprintf("Source or dest mismatch.\n");
9696

97-
dprintf("SRC: %u.%u.%u.%u. Mask: %u.%u.%u.%u. Target: %u.%u.%u.%u.%s\n",
98-
NIPQUAD(ip->saddr),
99-
NIPQUAD(ipinfo->smsk.s_addr),
100-
NIPQUAD(ipinfo->src.s_addr),
97+
dprintf("SRC: %pI4. Mask: %pI4. Target: %pI4.%s\n",
98+
&ip->saddr, &ipinfo->smsk.s_addr, &ipinfo->src.s_addr,
10199
ipinfo->invflags & IPT_INV_SRCIP ? " (INV)" : "");
102-
dprintf("DST: %u.%u.%u.%u Mask: %u.%u.%u.%u Target: %u.%u.%u.%u.%s\n",
103-
NIPQUAD(ip->daddr),
104-
NIPQUAD(ipinfo->dmsk.s_addr),
105-
NIPQUAD(ipinfo->dst.s_addr),
100+
dprintf("DST: %pI4 Mask: %pI4 Target: %pI4.%s\n",
101+
&ip->daddr, &ipinfo->dmsk.s_addr, &ipinfo->dst.s_addr,
106102
ipinfo->invflags & IPT_INV_DSTIP ? " (INV)" : "");
107103
return false;
108104
}

‎net/ipv4/netfilter/ipt_CLUSTERIP.c‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ clusterip_config_init(const struct ipt_clusterip_tgt_info *i, __be32 ip,
168168
char buffer[16];
169169

170170
/* create proc dir entry */
171-
sprintf(buffer, "%u.%u.%u.%u", NIPQUAD(ip));
171+
sprintf(buffer, "%pI4", &ip);
172172
c->pde = proc_create_data(buffer, S_IWUSR|S_IRUSR,
173173
clusterip_procdir,
174174
&clusterip_proc_fops, c);
@@ -373,7 +373,7 @@ static bool clusterip_tg_check(const struct xt_tgchk_param *par)
373373
config = clusterip_config_find_get(e->ip.dst.s_addr, 1);
374374
if (!config) {
375375
if (!(cipinfo->flags & CLUSTERIP_FLAG_NEW)) {
376-
printk(KERN_WARNING "CLUSTERIP: no config found for %u.%u.%u.%u, need 'new'\n", NIPQUAD(e->ip.dst.s_addr));
376+
printk(KERN_WARNING "CLUSTERIP: no config found for %pI4, need 'new'\n", &e->ip.dst.s_addr);
377377
return false;
378378
} else {
379379
struct net_device *dev;
@@ -478,9 +478,8 @@ static void arp_print(struct arp_payload *payload)
478478
}
479479
hbuffer[--k]='\0';
480480

481-
printk("src %u.%u.%u.%u@%s, dst %u.%u.%u.%u\n",
482-
NIPQUAD(payload->src_ip), hbuffer,
483-
NIPQUAD(payload->dst_ip));
481+
printk("src %pI4@%s, dst %pI4\n",
482+
&payload->src_ip, hbuffer, &payload->dst_ip);
484483
}
485484
#endif
486485

‎net/ipv4/netfilter/ipt_LOG.c‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ static void dump_packet(const struct nf_loginfo *info,
5454
/* Important fields:
5555
* TOS, len, DF/MF, fragment offset, TTL, src, dst, options. */
5656
/* Max length: 40 "SRC=255.255.255.255 DST=255.255.255.255 " */
57-
printk("SRC=%u.%u.%u.%u DST=%u.%u.%u.%u ",
58-
NIPQUAD(ih->saddr), NIPQUAD(ih->daddr));
57+
printk("SRC=%pI4 DST=%pI4 ",
58+
&ih->saddr, &ih->daddr);
5959

6060
/* Max length: 46 "LEN=65535 TOS=0xFF PREC=0xFF TTL=255 ID=65535 " */
6161
printk("LEN=%u TOS=0x%02X PREC=0x%02X TTL=%u ID=%u ",
@@ -262,8 +262,7 @@ static void dump_packet(const struct nf_loginfo *info,
262262
break;
263263
case ICMP_REDIRECT:
264264
/* Max length: 24 "GATEWAY=255.255.255.255 " */
265-
printk("GATEWAY=%u.%u.%u.%u ",
266-
NIPQUAD(ich->un.gateway));
265+
printk("GATEWAY=%pI4 ", &ich->un.gateway);
267266
/* Fall through */
268267
case ICMP_DEST_UNREACH:
269268
case ICMP_SOURCE_QUENCH:

‎net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c‎

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ static bool ipv4_invert_tuple(struct nf_conntrack_tuple *tuple,
6060
static int ipv4_print_tuple(struct seq_file *s,
6161
const struct nf_conntrack_tuple *tuple)
6262
{
63-
return seq_printf(s, "src=%u.%u.%u.%u dst=%u.%u.%u.%u ",
64-
NIPQUAD(tuple->src.u3.ip),
65-
NIPQUAD(tuple->dst.u3.ip));
63+
return seq_printf(s, "src=%pI4 dst=%pI4 ",
64+
&tuple->src.u3.ip, &tuple->dst.u3.ip);
6665
}
6766

6867
static int ipv4_get_l4proto(const struct sk_buff *skb, unsigned int nhoff,
@@ -284,17 +283,17 @@ getorigdst(struct sock *sk, int optval, void __user *user, int *len)
284283
.tuple.dst.u3.ip;
285284
memset(sin.sin_zero, 0, sizeof(sin.sin_zero));
286285

287-
pr_debug("SO_ORIGINAL_DST: %u.%u.%u.%u %u\n",
288-
NIPQUAD(sin.sin_addr.s_addr), ntohs(sin.sin_port));
286+
pr_debug("SO_ORIGINAL_DST: %pI4 %u\n",
287+
&sin.sin_addr.s_addr, ntohs(sin.sin_port));
289288
nf_ct_put(ct);
290289
if (copy_to_user(user, &sin, sizeof(sin)) != 0)
291290
return -EFAULT;
292291
else
293292
return 0;
294293
}
295-
pr_debug("SO_ORIGINAL_DST: Can't find %u.%u.%u.%u/%u-%u.%u.%u.%u/%u.\n",
296-
NIPQUAD(tuple.src.u3.ip), ntohs(tuple.src.u.tcp.port),
297-
NIPQUAD(tuple.dst.u3.ip), ntohs(tuple.dst.u.tcp.port));
294+
pr_debug("SO_ORIGINAL_DST: Can't find %pI4/%u-%pI4/%u.\n",
295+
&tuple.src.u3.ip, ntohs(tuple.src.u.tcp.port),
296+
&tuple.dst.u3.ip, ntohs(tuple.dst.u.tcp.port));
298297
return -ENOENT;
299298
}
300299

‎net/ipv4/netfilter/nf_nat_h323.c‎

Lines changed: 27 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,9 @@ static int set_sig_addr(struct sk_buff *skb, struct nf_conn *ct,
119119
(ntohl(addr.ip) & 0xff000000) == 0x7f000000)
120120
i = 0;
121121

122-
pr_debug("nf_nat_ras: set signal address "
123-
"%u.%u.%u.%u:%hu->%u.%u.%u.%u:%hu\n",
124-
NIPQUAD(addr.ip), port,
125-
NIPQUAD(ct->tuplehash[!dir].tuple.dst.u3.ip),
122+
pr_debug("nf_nat_ras: set signal address %pI4:%hu->%pI4:%hu\n",
123+
&addr.ip, port,
124+
&ct->tuplehash[!dir].tuple.dst.u3.ip,
126125
info->sig_port[!dir]);
127126
return set_h225_addr(skb, data, 0, &taddr[i],
128127
&ct->tuplehash[!dir].
@@ -131,10 +130,9 @@ static int set_sig_addr(struct sk_buff *skb, struct nf_conn *ct,
131130
} else if (addr.ip == ct->tuplehash[dir].tuple.dst.u3.ip &&
132131
port == info->sig_port[dir]) {
133132
/* GK->GW */
134-
pr_debug("nf_nat_ras: set signal address "
135-
"%u.%u.%u.%u:%hu->%u.%u.%u.%u:%hu\n",
136-
NIPQUAD(addr.ip), port,
137-
NIPQUAD(ct->tuplehash[!dir].tuple.src.u3.ip),
133+
pr_debug("nf_nat_ras: set signal address %pI4:%hu->%pI4:%hu\n",
134+
&addr.ip, port,
135+
&ct->tuplehash[!dir].tuple.src.u3.ip,
138136
info->sig_port[!dir]);
139137
return set_h225_addr(skb, data, 0, &taddr[i],
140138
&ct->tuplehash[!dir].
@@ -162,10 +160,9 @@ static int set_ras_addr(struct sk_buff *skb, struct nf_conn *ct,
162160
if (get_h225_addr(ct, *data, &taddr[i], &addr, &port) &&
163161
addr.ip == ct->tuplehash[dir].tuple.src.u3.ip &&
164162
port == ct->tuplehash[dir].tuple.src.u.udp.port) {
165-
pr_debug("nf_nat_ras: set rasAddress "
166-
"%u.%u.%u.%u:%hu->%u.%u.%u.%u:%hu\n",
167-
NIPQUAD(addr.ip), ntohs(port),
168-
NIPQUAD(ct->tuplehash[!dir].tuple.dst.u3.ip),
163+
pr_debug("nf_nat_ras: set rasAddress %pI4:%hu->%pI4:%hu\n",
164+
&addr.ip, ntohs(port),
165+
&ct->tuplehash[!dir].tuple.dst.u3.ip,
169166
ntohs(ct->tuplehash[!dir].tuple.dst.u.udp.port));
170167
return set_h225_addr(skb, data, 0, &taddr[i],
171168
&ct->tuplehash[!dir].tuple.dst.u3,
@@ -257,15 +254,15 @@ static int nat_rtp_rtcp(struct sk_buff *skb, struct nf_conn *ct,
257254
}
258255

259256
/* Success */
260-
pr_debug("nf_nat_h323: expect RTP %u.%u.%u.%u:%hu->%u.%u.%u.%u:%hu\n",
261-
NIPQUAD(rtp_exp->tuple.src.u3.ip),
257+
pr_debug("nf_nat_h323: expect RTP %pI4:%hu->%pI4:%hu\n",
258+
&rtp_exp->tuple.src.u3.ip,
262259
ntohs(rtp_exp->tuple.src.u.udp.port),
263-
NIPQUAD(rtp_exp->tuple.dst.u3.ip),
260+
&rtp_exp->tuple.dst.u3.ip,
264261
ntohs(rtp_exp->tuple.dst.u.udp.port));
265-
pr_debug("nf_nat_h323: expect RTCP %u.%u.%u.%u:%hu->%u.%u.%u.%u:%hu\n",
266-
NIPQUAD(rtcp_exp->tuple.src.u3.ip),
262+
pr_debug("nf_nat_h323: expect RTCP %pI4:%hu->%pI4:%hu\n",
263+
&rtcp_exp->tuple.src.u3.ip,
267264
ntohs(rtcp_exp->tuple.src.u.udp.port),
268-
NIPQUAD(rtcp_exp->tuple.dst.u3.ip),
265+
&rtcp_exp->tuple.dst.u3.ip,
269266
ntohs(rtcp_exp->tuple.dst.u.udp.port));
270267

271268
return 0;
@@ -307,10 +304,10 @@ static int nat_t120(struct sk_buff *skb, struct nf_conn *ct,
307304
return -1;
308305
}
309306

310-
pr_debug("nf_nat_h323: expect T.120 %u.%u.%u.%u:%hu->%u.%u.%u.%u:%hu\n",
311-
NIPQUAD(exp->tuple.src.u3.ip),
307+
pr_debug("nf_nat_h323: expect T.120 %pI4:%hu->%pI4:%hu\n",
308+
&exp->tuple.src.u3.ip,
312309
ntohs(exp->tuple.src.u.tcp.port),
313-
NIPQUAD(exp->tuple.dst.u3.ip),
310+
&exp->tuple.dst.u3.ip,
314311
ntohs(exp->tuple.dst.u.tcp.port));
315312

316313
return 0;
@@ -361,10 +358,10 @@ static int nat_h245(struct sk_buff *skb, struct nf_conn *ct,
361358
return -1;
362359
}
363360

364-
pr_debug("nf_nat_q931: expect H.245 %u.%u.%u.%u:%hu->%u.%u.%u.%u:%hu\n",
365-
NIPQUAD(exp->tuple.src.u3.ip),
361+
pr_debug("nf_nat_q931: expect H.245 %pI4:%hu->%pI4:%hu\n",
362+
&exp->tuple.src.u3.ip,
366363
ntohs(exp->tuple.src.u.tcp.port),
367-
NIPQUAD(exp->tuple.dst.u3.ip),
364+
&exp->tuple.dst.u3.ip,
368365
ntohs(exp->tuple.dst.u.tcp.port));
369366

370367
return 0;
@@ -455,10 +452,10 @@ static int nat_q931(struct sk_buff *skb, struct nf_conn *ct,
455452
}
456453

457454
/* Success */
458-
pr_debug("nf_nat_ras: expect Q.931 %u.%u.%u.%u:%hu->%u.%u.%u.%u:%hu\n",
459-
NIPQUAD(exp->tuple.src.u3.ip),
455+
pr_debug("nf_nat_ras: expect Q.931 %pI4:%hu->%pI4:%hu\n",
456+
&exp->tuple.src.u3.ip,
460457
ntohs(exp->tuple.src.u.tcp.port),
461-
NIPQUAD(exp->tuple.dst.u3.ip),
458+
&exp->tuple.dst.u3.ip,
462459
ntohs(exp->tuple.dst.u.tcp.port));
463460

464461
return 0;
@@ -524,11 +521,10 @@ static int nat_callforwarding(struct sk_buff *skb, struct nf_conn *ct,
524521
}
525522

526523
/* Success */
527-
pr_debug("nf_nat_q931: expect Call Forwarding "
528-
"%u.%u.%u.%u:%hu->%u.%u.%u.%u:%hu\n",
529-
NIPQUAD(exp->tuple.src.u3.ip),
524+
pr_debug("nf_nat_q931: expect Call Forwarding %pI4:%hu->%pI4:%hu\n",
525+
&exp->tuple.src.u3.ip,
530526
ntohs(exp->tuple.src.u.tcp.port),
531-
NIPQUAD(exp->tuple.dst.u3.ip),
527+
&exp->tuple.dst.u3.ip,
532528
ntohs(exp->tuple.dst.u.tcp.port));
533529

534530
return 0;

‎net/ipv4/netfilter/nf_nat_irc.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ static unsigned int help(struct sk_buff *skb,
5555

5656
ip = ntohl(exp->master->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3.ip);
5757
sprintf(buffer, "%u %u", ip, port);
58-
pr_debug("nf_nat_irc: inserting '%s' == %u.%u.%u.%u, port %u\n",
59-
buffer, NIPQUAD(ip), port);
58+
pr_debug("nf_nat_irc: inserting '%s' == %pI4, port %u\n",
59+
buffer, &ip, port);
6060

6161
ret = nf_nat_mangle_tcp_packet(skb, exp->master, ctinfo,
6262
matchoff, matchlen, buffer,

‎net/ipv4/netfilter/nf_nat_rule.c‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ static void warn_if_extra_mangle(struct net *net, __be32 dstip, __be32 srcip)
9898

9999
if (rt->rt_src != srcip && !warned) {
100100
printk("NAT: no longer support implicit source local NAT\n");
101-
printk("NAT: packet src %u.%u.%u.%u -> dst %u.%u.%u.%u\n",
102-
NIPQUAD(srcip), NIPQUAD(dstip));
101+
printk("NAT: packet src %pI4 -> dst %pI4\n", &srcip, &dstip);
103102
warned = 1;
104103
}
105104
ip_rt_put(rt);
@@ -166,8 +165,7 @@ alloc_null_binding(struct nf_conn *ct, unsigned int hooknum)
166165
struct nf_nat_range range
167166
= { IP_NAT_RANGE_MAP_IPS, ip, ip, { 0 }, { 0 } };
168167

169-
pr_debug("Allocating NULL binding for %p (%u.%u.%u.%u)\n",
170-
ct, NIPQUAD(ip));
168+
pr_debug("Allocating NULL binding for %p (%pI4)\n", ct, &ip);
171169
return nf_nat_setup_info(ct, &range, HOOK2MANIP(hooknum));
172170
}
173171

‎net/ipv4/netfilter/nf_nat_sip.c‎

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ static int map_addr(struct sk_buff *skb,
7474
if (newaddr == addr->ip && newport == port)
7575
return 1;
7676

77-
buflen = sprintf(buffer, "%u.%u.%u.%u:%u",
78-
NIPQUAD(newaddr), ntohs(newport));
77+
buflen = sprintf(buffer, "%pI4:%u", &newaddr, ntohs(newport));
7978

8079
return mangle_packet(skb, dptr, datalen, matchoff, matchlen,
8180
buffer, buflen);
@@ -152,8 +151,8 @@ static unsigned int ip_nat_sip(struct sk_buff *skb,
152151
&addr) > 0 &&
153152
addr.ip == ct->tuplehash[dir].tuple.src.u3.ip &&
154153
addr.ip != ct->tuplehash[!dir].tuple.dst.u3.ip) {
155-
__be32 ip = ct->tuplehash[!dir].tuple.dst.u3.ip;
156-
buflen = sprintf(buffer, "%u.%u.%u.%u", NIPQUAD(ip));
154+
buflen = sprintf(buffer, "%pI4",
155+
&ct->tuplehash[!dir].tuple.dst.u3.ip);
157156
if (!mangle_packet(skb, dptr, datalen, poff, plen,
158157
buffer, buflen))
159158
return NF_DROP;
@@ -166,8 +165,8 @@ static unsigned int ip_nat_sip(struct sk_buff *skb,
166165
&addr) > 0 &&
167166
addr.ip == ct->tuplehash[dir].tuple.dst.u3.ip &&
168167
addr.ip != ct->tuplehash[!dir].tuple.src.u3.ip) {
169-
__be32 ip = ct->tuplehash[!dir].tuple.src.u3.ip;
170-
buflen = sprintf(buffer, "%u.%u.%u.%u", NIPQUAD(ip));
168+
buflen = sprintf(buffer, "%pI4",
169+
&ct->tuplehash[!dir].tuple.src.u3.ip);
171170
if (!mangle_packet(skb, dptr, datalen, poff, plen,
172171
buffer, buflen))
173172
return NF_DROP;
@@ -279,8 +278,7 @@ static unsigned int ip_nat_sip_expect(struct sk_buff *skb,
279278

280279
if (exp->tuple.dst.u3.ip != exp->saved_ip ||
281280
exp->tuple.dst.u.udp.port != exp->saved_proto.udp.port) {
282-
buflen = sprintf(buffer, "%u.%u.%u.%u:%u",
283-
NIPQUAD(newip), port);
281+
buflen = sprintf(buffer, "%pI4:%u", &newip, port);
284282
if (!mangle_packet(skb, dptr, datalen, matchoff, matchlen,
285283
buffer, buflen))
286284
goto err;
@@ -345,7 +343,7 @@ static unsigned int ip_nat_sdp_addr(struct sk_buff *skb, const char **dptr,
345343
char buffer[sizeof("nnn.nnn.nnn.nnn")];
346344
unsigned int buflen;
347345

348-
buflen = sprintf(buffer, NIPQUAD_FMT, NIPQUAD(addr->ip));
346+
buflen = sprintf(buffer, "%pI4", &addr->ip);
349347
if (mangle_sdp_packet(skb, dptr, dataoff, datalen, type, term,
350348
buffer, buflen))
351349
return 0;
@@ -380,7 +378,7 @@ static unsigned int ip_nat_sdp_session(struct sk_buff *skb, const char **dptr,
380378
unsigned int buflen;
381379

382380
/* Mangle session description owner and contact addresses */
383-
buflen = sprintf(buffer, "%u.%u.%u.%u", NIPQUAD(addr->ip));
381+
buflen = sprintf(buffer, "%pI4", &addr->ip);
384382
if (mangle_sdp_packet(skb, dptr, dataoff, datalen,
385383
SDP_HDR_OWNER_IP4, SDP_HDR_MEDIA,
386384
buffer, buflen))

‎net/ipv4/netfilter/nf_nat_snmp_basic.c‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -930,8 +930,8 @@ static inline void mangle_address(unsigned char *begin,
930930
}
931931

932932
if (debug)
933-
printk(KERN_DEBUG "bsalg: mapped %u.%u.%u.%u to "
934-
"%u.%u.%u.%u\n", NIPQUAD(old), NIPQUAD(*addr));
933+
printk(KERN_DEBUG "bsalg: mapped %pI4 to %pI4\n",
934+
&old, addr);
935935
}
936936
}
937937

@@ -1267,9 +1267,8 @@ static int help(struct sk_buff *skb, unsigned int protoff,
12671267
*/
12681268
if (ntohs(udph->len) != skb->len - (iph->ihl << 2)) {
12691269
if (net_ratelimit())
1270-
printk(KERN_WARNING "SNMP: dropping malformed packet "
1271-
"src=%u.%u.%u.%u dst=%u.%u.%u.%u\n",
1272-
NIPQUAD(iph->saddr), NIPQUAD(iph->daddr));
1270+
printk(KERN_WARNING "SNMP: dropping malformed packet src=%pI4 dst=%pI4\n",
1271+
&iph->saddr, &iph->daddr);
12731272
return NF_DROP;
12741273
}
12751274

0 commit comments

Comments
 (0)