diff options
| author | Yoshinobu Inoue <shin@FreeBSD.org> | 2000-03-03 11:13:12 +0000 |
|---|---|---|
| committer | Yoshinobu Inoue <shin@FreeBSD.org> | 2000-03-03 11:13:12 +0000 |
| commit | 7d0d8dc306e60c69f94c996787428aeae04c40f1 (patch) | |
| tree | 17dfd3f7d1ac380054dc5c2d2d4d226a3371686c /sys/netinet6 | |
| parent | e84d092b810ab1a2b3175d18fbd6d026e2981c98 (diff) | |
Notes
Diffstat (limited to 'sys/netinet6')
| -rw-r--r-- | sys/netinet6/ip6_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index b901751fa0dc..fb8545418fb6 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -1980,8 +1980,8 @@ ip6_setpktoptions(control, opt, priv) opt->ip6po_m = control; - for (; control->m_len; control->m_data += CMSG_ALIGN(cm->cmsg_len), - control->m_len -= CMSG_ALIGN(cm->cmsg_len)) { + for (; control->m_len; control->m_data += ALIGN(cm->cmsg_len), + control->m_len -= ALIGN(cm->cmsg_len)) { cm = mtod(control, struct cmsghdr *); if (cm->cmsg_len == 0 || cm->cmsg_len > control->m_len) return(EINVAL); |
