pfsync / 6-CURRENT-amd64

Sascha Luck sascha at c4inet.net
Sun Jun 26 16:41:23 GMT 2005


On Sun, Jun 26, 2005 at 06:17:14PM +0200, Max Laier wrote:
> Can you try the attached patch, please?  I forgot to initialize ifq_maxlen, it 
> seems :-\

That breaks:

cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I../../.. 
-I../../../contrib/dev/acpica -I../../../contrib/altq -I../../../contrib
/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../..
/contrib/dev/ath/freebsd -I../../../contrib/ngatm -I../../../dev/twa 
-D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000  -mcmodel=kernel 
-mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -Werror  ../../../contrib/pf/net/if_pfsync.c
../../../contrib/pf/net/if_pfsync.c: In function `pfsync_clone_create':
../../../contrib/pf/net/if_pfsync.c:227: error: invalid lvalue in assignment
*** Error code 1

cheers,
s.


More information about the freebsd-pf mailing list