diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2011-07-22 13:05:30 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2011-07-22 13:05:30 +0000 |
commit | 7e3a78952e5d11e7334e5fd34a3d9b44ef1a3b4f (patch) | |
tree | 1ae2a8e773e7ddaf78048c3038979b24ad36030c /sys/net/pf.c | |
parent | f5cf5220cebac3a7fd9efbddab88a67a4f64cfcf (diff) |
fix typos, martin pelikan
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r-- | sys/net/pf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index d0ccad46a5a..28d2ee226d6 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.764 2011/07/09 17:42:19 bluhm Exp $ */ +/* $OpenBSD: pf.c,v 1.765 2011/07/22 13:05:29 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -2592,7 +2592,7 @@ pf_get_mss(struct mbuf *m, int off, u_int16_t th_off, sa_family_t af) } u_int16_t -pf_calc_mss(struct pf_addr *addr, sa_family_t af, int rtabelid, u_int16_t offer) +pf_calc_mss(struct pf_addr *addr, sa_family_t af, int rtableid, u_int16_t offer) { #ifdef INET struct sockaddr_in *dst; @@ -2615,7 +2615,7 @@ pf_calc_mss(struct pf_addr *addr, sa_family_t af, int rtabelid, u_int16_t offer) dst->sin_family = AF_INET; dst->sin_len = sizeof(*dst); dst->sin_addr = addr->v4; - ro.ro_tableid = rtabelid; + ro.ro_tableid = rtableid; rtalloc_noclone(&ro); rt = ro.ro_rt; break; @@ -2628,7 +2628,7 @@ pf_calc_mss(struct pf_addr *addr, sa_family_t af, int rtabelid, u_int16_t offer) dst6->sin6_family = AF_INET6; dst6->sin6_len = sizeof(*dst6); dst6->sin6_addr = addr->v6; - ro6.ro_tableid = rtabelid; + ro6.ro_tableid = rtableid; rtalloc_noclone((struct route *)&ro6); rt = ro6.ro_rt; break; |