diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-12-20 05:37:48 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-12-20 05:37:48 +0000 |
commit | 3807aba9c447b3f943d2737235ab610f67b6fb92 (patch) | |
tree | c4c3bff6637bb080037decaa1c58db9846df1f6f /sys | |
parent | 14acc384a6fb8cdcce3b6da66b74af90609b1359 (diff) |
sockaddr_in6 is padded to 32 bytes.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/pfkeyv2_parsemessage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/pfkeyv2_parsemessage.c b/sys/net/pfkeyv2_parsemessage.c index 568e2b0c1ef..09c3b633b4e 100644 --- a/sys/net/pfkeyv2_parsemessage.c +++ b/sys/net/pfkeyv2_parsemessage.c @@ -370,7 +370,7 @@ pfkeyv2_parsemessage(void *p, int len, void **headers) #if INET6 case AF_INET6: if (i != sizeof(struct sadb_address) + - sizeof(struct sockaddr_in6)) + sizeof(struct sockaddr_in6) + 4) return EINVAL; if (sa->sa_len != sizeof(struct sockaddr_in6)) |