If you really want to be pedantic, it should be if defined(PIPEX) || 
defined(IPSEC)

YASUOKA Masahiko [yasu...@yasuoka.net] wrote:
> ok?
> 
> Fix compile without IPSEC.
> 
> Pointed out by Ivan Solonin.
> 
> Index: sys/netinet/udp_usrreq.c
> ===================================================================
> RCS file: /disk/cvs/openbsd/src/sys/netinet/udp_usrreq.c,v
> retrieving revision 1.184
> diff -u -p -r1.184 udp_usrreq.c
> --- sys/netinet/udp_usrreq.c  23 Apr 2014 12:25:35 -0000      1.184
> +++ sys/netinet/udp_usrreq.c  23 Jun 2014 02:17:06 -0000
> @@ -186,9 +186,9 @@ udp_input(struct mbuf *m, ...)
>       struct m_tag *mtag;
>       struct tdb_ident *tdbi;
>       struct tdb *tdb;
> +#endif /* IPSEC */
>       int error;
>       u_int32_t ipsecflowinfo = 0;
> -#endif /* IPSEC */
>  
>       va_start(ap, m);
>       iphlen = va_arg(ap, int);

-- 
"If you see fraud and don't shout fraud, you are a fraud" -- Nassim Taleb

Reply via email to