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,
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to