Expose np (nat_t - an entry in the nat table structure) in the DTrace
probe when nat fails (label badnat). This is useful in diagnosing failed NAT issues and was used in PR/208566. PR: 208566 MFC after: 3 days
This commit is contained in:
parent
ece181beaf
commit
1db6a0e38b
@ -3259,7 +3259,7 @@ ipf_nat_add(fin, np, natsave, flags, direction)
|
||||
|
||||
goto done;
|
||||
badnat:
|
||||
DT2(ns_badnatnew, fr_info_t *, fin, nat_t *, nat);
|
||||
DT3(ns_badnatnew, fr_info_t *, fin, nat_t *, nat, ipnat_t *, np);
|
||||
NBUMPSIDE(fin->fin_out, ns_badnatnew);
|
||||
if ((hm = nat->nat_hm) != NULL)
|
||||
ipf_nat_hostmapdel(softc, &hm);
|
||||
|
Loading…
Reference in New Issue
Block a user