Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2007 04:19:59 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 118511 for review
Message-ID:  <200704210419.l3L4Jx8q022898@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=118511

Change 118511 by zec@zec_tca51 on 2007/04/21 04:17:11

	Do not try to compile INET6 bits if INET6 is not configured.

Affected files ...

.. //depot/projects/vimage/src/sys/contrib/pf/net/pf.c#5 edit

Differences ...

==== //depot/projects/vimage/src/sys/contrib/pf/net/pf.c#5 (text+ko) ====

@@ -6226,7 +6226,9 @@
 pf_check_proto_cksum(struct mbuf *m, int off, int len, u_int8_t p, sa_family_t af)
 {
 	INIT_VNET_INET(curvnet);
+#ifdef INET6
 	INIT_VNET_INET6(curvnet);
+#endif
 	u_int16_t sum = 0;
 	int hw_assist = 0;
 	struct ip *ip;



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