Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2013 10:12:19 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257246 - head/sys/netpfil/pf
Message-ID:  <201310281012.r9SACJPF001923@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Mon Oct 28 10:12:19 2013
New Revision: 257246
URL: http://svnweb.freebsd.org/changeset/base/257246

Log:
  - Fix VIMAGE build.
  - Fix build with gcc.

Modified:
  head/sys/netpfil/pf/pf.c

Modified: head/sys/netpfil/pf/pf.c
==============================================================================
--- head/sys/netpfil/pf/pf.c	Mon Oct 28 09:43:15 2013	(r257245)
+++ head/sys/netpfil/pf/pf.c	Mon Oct 28 10:12:19 2013	(r257246)
@@ -4554,7 +4554,7 @@ pf_icmp_state_lookup(struct pf_state_key
 	if ((*state)->rule.ptr->type &&
 	    (((*state)->direction == direction) ?
 	    PF_IN : PF_OUT) != icmp_dir) {
-		if (pf_status.debug >= PF_DEBUG_MISC) {
+		if (V_pf_status.debug >= PF_DEBUG_MISC) {
 			printf("pf: icmp type %d in wrong direction (%d): ",
 			    icmp_dir, direction);
 			pf_print_state(*state);
@@ -4593,6 +4593,8 @@ pf_test_state_icmp(struct pf_state **sta
 
 		break;
 #endif /* INET6 */
+	default:
+		panic("%s: proto %d\n", __func__, pd->proto);
 	}
 
 	if (pf_icmp_mapping(pd, icmptype, &icmp_dir, &multi,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310281012.r9SACJPF001923>