Minor indentation issue.

This commit is contained in:
Pedro F. Giffuni 2016-04-20 16:03:53 +00:00
parent 33495e5daf
commit 422fa64be3

View File

@ -199,8 +199,7 @@ inet6_option_alloc(struct cmsghdr *cmsg, int datalen, int multx, int plusy)
/* calculate pad length before the option. */
off = bp - (u_char *)eh;
padlen = roundup2(off % multx, multx) -
(off % multx);
padlen = roundup2(off % multx, multx) - (off % multx);
padlen += plusy;
padlen %= multx; /* keep the pad as short as possible */
/* insert padding */