diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2011-10-13 18:32:31 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2011-10-13 18:32:31 +0000 |
commit | b799c005fd33ac0f09eb77158c5c72ced049bd90 (patch) | |
tree | f2c7d52cfcf27f095fe0c43e0590e53458f68f73 /usr.sbin/tcpdump/print-pflog.c | |
parent | b5007cc677518df9758320bd9fa7aa6113ca8b53 (diff) |
Teach some userland tools about NAT64. I think this is mostly from mikeb@
OK mcbride@
Diffstat (limited to 'usr.sbin/tcpdump/print-pflog.c')
-rw-r--r-- | usr.sbin/tcpdump/print-pflog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-pflog.c b/usr.sbin/tcpdump/print-pflog.c index 3d37ffe903e..5a273dc2bdc 100644 --- a/usr.sbin/tcpdump/print-pflog.c +++ b/usr.sbin/tcpdump/print-pflog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-pflog.c,v 1.23 2010/10/09 08:22:26 canacar Exp $ */ +/* $OpenBSD: print-pflog.c,v 1.24 2011/10/13 18:32:30 claudio Exp $ */ /* * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996 @@ -172,7 +172,7 @@ pflog_if_print(u_char *user, const struct pcap_pkthdr *h, ntohs(hdr->dport)); } } - af = hdr->af; + af = hdr->naf; length -= hdrlen; if (af == AF_INET) { ip = (struct ip *)(p + hdrlen); |