diff options
Diffstat (limited to 'sys/net/pf_lb.c')
-rw-r--r-- | sys/net/pf_lb.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/net/pf_lb.c b/sys/net/pf_lb.c index e1faa696b83..0ddc950e9f6 100644 --- a/sys/net/pf_lb.c +++ b/sys/net/pf_lb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_lb.c,v 1.1 2009/01/29 15:12:28 pyr Exp $ */ +/* $OpenBSD: pf_lb.c,v 1.2 2009/02/12 02:13:15 sthen Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -678,15 +678,6 @@ pf_get_translation(struct pf_pdesc *pd, struct mbuf *m, int off, int direction, default: return (NULL); } - /* - * Translation was a NOP. - * Undo separate NAT key and pretend there was no match. - */ - if (!bcmp(*skp, *nkp, sizeof(struct pf_state_key_cmp))) { - pool_put(&pf_state_key_pl, *nkp); - *skw = *sks = *nkp = *skp; - return (NULL); - } } return (r); |