artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e2bfdb
)
Use IP6_SOIIKEY_LEN instead of hardcoded value.
author
mpi
<mpi@openbsd.org>
Mon, 12 Feb 2018 15:53:05 +0000
(15:53 +0000)
committer
mpi
<mpi@openbsd.org>
Mon, 12 Feb 2018 15:53:05 +0000
(15:53 +0000)
from semarie@, ok benno@
sys/netinet6/ip6_input.c
patch
|
blob
|
history
diff --git
a/sys/netinet6/ip6_input.c
b/sys/netinet6/ip6_input.c
index
6000638
..
597624d
100644
(file)
--- a/
sys/netinet6/ip6_input.c
+++ b/
sys/netinet6/ip6_input.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ip6_input.c,v 1.21
2 2018/02/10 05:52:08 florian Exp $
*/
+/* $OpenBSD: ip6_input.c,v 1.21
3 2018/02/12 15:53:05 mpi Exp $
*/
/* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */
/*
@@
-1374,7
+1374,7
@@
int
ip6_sysctl_soiikey(void *oldp, size_t *oldlenp, void *newp, size_t newlen)
{
struct ifnet *ifp;
- uint8_t oldkey[
16
];
+ uint8_t oldkey[
IP6_SOIIKEY_LEN
];
int error;
error = suser(curproc, 0);