diff options
author | glebius <glebius@FreeBSD.org> | 2013-03-15 12:55:30 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-03-15 12:55:30 +0000 |
commit | b37af62b9e1d9dc462e88e964b0c1012f8144495 (patch) | |
tree | e02d647183f66805ee3b2474493cabce43b2e580 /sys/netpfil/pf | |
parent | d9a8b8e5e610631cff464a76929f0ff4de7dcff2 (diff) | |
download | FreeBSD-src-b37af62b9e1d9dc462e88e964b0c1012f8144495.zip FreeBSD-src-b37af62b9e1d9dc462e88e964b0c1012f8144495.tar.gz |
Use m_get/m_gethdr instead of compat macros.
Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/netpfil/pf')
-rw-r--r-- | sys/netpfil/pf/pf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c index 6667d7a..168ad5c 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -2168,7 +2168,7 @@ pf_send_tcp(struct mbuf *replyto, const struct pf_rule *r, sa_family_t af, pfse = malloc(sizeof(*pfse), M_PFTEMP, M_NOWAIT); if (pfse == NULL) return; - m = m_gethdr(M_NOWAIT, MT_HEADER); + m = m_gethdr(M_NOWAIT, MT_DATA); if (m == NULL) { free(pfse, M_PFTEMP); return; |