PERFORCE change 118511 for review

Marko Zec zec at FreeBSD.org
Sat Apr 21 04:20:00 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=118511

Change 118511 by zec at 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;


More information about the p4-projects mailing list