Yet another align.

It will be required if sizeof(struct sockaddr_in) changes in the future.

Not objected to by:	wollman
This commit is contained in:
ru 1999-09-20 09:10:46 +00:00
parent c3c763bc9d
commit dbca32e915

View File

@ -451,7 +451,7 @@ search(u_long addr, void (*action)(struct sockaddr_dl *sdl,
for (next = buf; next < lim; next += rtm->rtm_msglen) {
rtm = (struct rt_msghdr *)next;
sin = (struct sockaddr_inarp *)(rtm + 1);
sdl = (struct sockaddr_dl *)(sin + 1);
(char *)sdl = (char *)sin + ROUNDUP(sin->sin_len);
if (addr) {
if (addr != sin->sin_addr.s_addr)
continue;