View | Details | Raw Unified | Return to bug 229477
Collapse All | Expand All

(-)pf.c (-3 / +4 lines)
Lines 3544-3552 Link Here
3544
		action = pf_create_state(r, nr, a, pd, nsn, nk, sk, m, off,
3544
		action = pf_create_state(r, nr, a, pd, nsn, nk, sk, m, off,
3545
		    sport, dport, &rewrite, kif, sm, tag, bproto_sum, bip_sum,
3545
		    sport, dport, &rewrite, kif, sm, tag, bproto_sum, bip_sum,
3546
		    hdrlen);
3546
		    hdrlen);
3547
		if (action != PF_PASS && r->rule_flag & PFRULE_RETURN) {
3547
		if (action != PF_PASS ) {
3548
			pf_return(r, nr, pd, sk, off, m, th, kif,
3548
			if( action == PF_DROP && r->rule_flag & PFRULE_RETURN)
3549
			    bproto_sum, bip_sum, hdrlen, &reason);
3549
				pf_return(r, nr, pd, sk, off, m, th, kif,
3550
			    	    bproto_sum, bip_sum, hdrlen, &reason);
3550
			return (action);
3551
			return (action);
3551
		}
3552
		}
3552
	} else {
3553
	} else {

Return to bug 229477