pf: Fix more ICMP mistranslation
In the default case fix the substitution of the destination address. PR: 201519 Submitted by: Max <maximos@als.nnov.ru> MFC after: 1 week
This commit is contained in:
parent
e6ee9b2fa8
commit
7ddccc27cd
@ -5014,7 +5014,7 @@ pf_test_state_icmp(struct pf_state **state, int direction, struct pfi_kif *kif,
|
||||
|
||||
if (PF_ANEQ(pd2.dst,
|
||||
&nk->addr[pd2.didx], pd2.af))
|
||||
pf_change_icmp(pd2.src, NULL, saddr,
|
||||
pf_change_icmp(pd2.dst, NULL, saddr,
|
||||
&nk->addr[pd2.didx], 0, NULL,
|
||||
pd2.ip_sum, icmpsum,
|
||||
pd->ip_sum, 0, pd2.af);
|
||||
|
Loading…
Reference in New Issue
Block a user