From owner-svn-src-all@FreeBSD.ORG Sat Mar 21 21:56:23 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62488106566B; Sat, 21 Mar 2009 21:56:23 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 510668FC0C; Sat, 21 Mar 2009 21:56:23 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2LLuNuu048091; Sat, 21 Mar 2009 21:56:23 GMT (envelope-from rpaulo@svn.freebsd.org) Received: (from rpaulo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2LLuNJo048090; Sat, 21 Mar 2009 21:56:23 GMT (envelope-from rpaulo@svn.freebsd.org) Message-Id: <200903212156.n2LLuNJo048090@svn.freebsd.org> From: Rui Paulo Date: Sat, 21 Mar 2009 21:56:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r190221 - head/contrib/tcpdump X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 21:56:23 -0000 Author: rpaulo Date: Sat Mar 21 21:56:23 2009 New Revision: 190221 URL: http://svn.freebsd.org/changeset/base/190221 Log: Fix WITHOUT_IPV6=yes build. Reported by: Andrzej Tobola ato at iem.pw.edu.pl Modified: head/contrib/tcpdump/print-enc.c Modified: head/contrib/tcpdump/print-enc.c ============================================================================== --- head/contrib/tcpdump/print-enc.c Sat Mar 21 21:49:07 2009 (r190220) +++ head/contrib/tcpdump/print-enc.c Sat Mar 21 21:56:23 2009 (r190221) @@ -77,9 +77,11 @@ enc_if_print(const struct pcap_pkthdr *h case AF_INET: ip_print(gndo, p, length); break; +#ifdef INET6 case AF_INET6: ip6_print(p, length); break; +#endif } out: