mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Ifdef out a redundant if statement when LARGE_NAT is disabled.
MFC after: 1 week
This commit is contained in:
parent
880f26f3eb
commit
d84a2fbab5
1 changed files with 2 additions and 0 deletions
|
|
@ -497,7 +497,9 @@ ipf_nat_soft_init(softc, arg)
|
|||
softn->ipf_nat_pending.ifq_next = NULL;
|
||||
|
||||
for (i = 0, tq = softn->ipf_nat_tcptq; i < IPF_TCP_NSTATES; i++, tq++) {
|
||||
#ifdef LARGE_NAT
|
||||
if (tq->ifq_ttl < softn->ipf_nat_deficmpage)
|
||||
#endif
|
||||
tq->ifq_ttl = softn->ipf_nat_deficmpage;
|
||||
#ifdef LARGE_NAT
|
||||
else if (tq->ifq_ttl > softn->ipf_nat_defage)
|
||||
|
|
|
|||
Loading…
Reference in a new issue