diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2002-09-08 12:38:05 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2002-09-08 12:38:05 +0000 |
commit | 4279c1ae5d0a873b2b6f30cd6aaaa38149578b2f (patch) | |
tree | 269bc2d3eb89ddf4df9c85adf0bf4393e5b7c780 /sbin/isakmpd/ipsec.c | |
parent | d6d7c19b6453cc5f0611a112e08627402a9b6aa5 (diff) |
Fix -pedantic errors.
Diffstat (limited to 'sbin/isakmpd/ipsec.c')
-rw-r--r-- | sbin/isakmpd/ipsec.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sbin/isakmpd/ipsec.c b/sbin/isakmpd/ipsec.c index 91272472ce9..fb801ad6319 100644 --- a/sbin/isakmpd/ipsec.c +++ b/sbin/isakmpd/ipsec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsec.c,v 1.69 2002/07/05 11:08:13 ho Exp $ */ +/* $OpenBSD: ipsec.c,v 1.70 2002/09/08 12:38:04 ho Exp $ */ /* $EOM: ipsec.c,v 1.143 2000/12/11 23:57:42 niklas Exp $ */ /* @@ -236,7 +236,11 @@ ipsec_sa_check (struct sa *sa, void *v_arg) struct sa * ipsec_sa_lookup (struct sockaddr *dst, u_int32_t spi, u_int8_t proto) { - struct dst_spi_proto_arg arg = { dst, spi, proto }; + struct dst_spi_proto_arg arg; + + arg.dst = dst; + arg.spi = spi; + arg.proto = proto; return sa_find (ipsec_sa_check, &arg); } |