[FEEDBACK REQUIRED] patch for ipfw/ipfw2 on alpha/sparc64

Peter Wemm peter at wemm.org
Sat May 24 13:26:53 PDT 2003


Luigi Rizzo wrote:

>      if (cmd->opcode == O_LOG)
>  	cmd += F_LEN(cmd);
> +#ifdef I386
>      fs = ((ipfw_insn_pipe *)cmd)->pipe_ptr;
> +#else
> +    bcopy(& ((ipfw_insn_pipe *)cmd)->pipe_ptr, &fs, sizeof(fs));
> +#endif
>  

This is not a 'reviewed-by:', but these should be #ifdef __i386__
rather than #ifdef I386.

Cheers,
-Peter
--
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



More information about the freebsd-alpha mailing list