diff options
| author | 2011-10-13 18:32:30 +0000 | |
|---|---|---|
| committer | 2011-10-13 18:32:30 +0000 | |
| commit | d25344e8b187d9cab9a8fcd8083b70d962bbd191 (patch) | |
| tree | 220ccf71cf42280f0a6768f740e0796d5885afbe /usr.sbin/tcpdump/print-pflog.c | |
| parent | pfctl change for af-to / NAT64 support. (diff) | |
| download | wireguard-openbsd-d25344e8b187d9cab9a8fcd8083b70d962bbd191.tar.xz wireguard-openbsd-d25344e8b187d9cab9a8fcd8083b70d962bbd191.zip | |
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); |
