pkgsrc/security/isakmpd/patches/patch-ak
agc d1cf13dbac Update to isakmpd version 20030903.
No changelog available, but many bugs fixed, and these sources will
compile with gcc-3.3.1 (well, after I tweaked them).  With thanks to
Christoph Badura for most of this work, I merely did the gcc-3.3.1
patching.
2003-10-10 12:56:18 +00:00

13 lines
457 B
Text

$NetBSD: patch-ak,v 1.1 2003/10/10 12:56:18 agc Exp $
--- pf_key_v2.c 2003/10/05 02:13:46 1.1
+++ pf_key_v2.c 2003/10/05 02:14:11
@@ -747,7 +747,7 @@
spirange.sadb_spirange_max = 0xffffffff;
}
spirange.sadb_spirange_reserved = 0;
- if (pf_key_v2_msg_add (getspi, (struct sadb_ext *)&spirange, 0) == -1)
+ if (pf_key_v2_msg_add (getspi, (struct sadb_ext *)(void *)&spirange, 0) == -1)
goto cleanup;
ret = pf_key_v2_call (getspi);