Project

General

Profile

Submit #3291 » ndp.c.patch

falsifian, 07/30/2021 10:20 AM

View differences:

usr.sbin/ndp/ndp.c Thu Jul 29 17:36:09 2021 +0200 → usr.sbin/ndp/ndp.c Fri Jul 30 17:20:09 2021 +0000
847 847
	}
848 848
#define NEXTADDR(w, s) \
849 849
	if (rtm->rtm_addrs & (w)) { \
850
		bcopy((char *)&s, cp, sizeof(s)); cp += sizeof(s);}
850
		bcopy((char *)&s, cp, sizeof(s)); cp += RT_ROUNDUP(sizeof(s));}
851 851

  
852 852
	NEXTADDR(RTA_DST, sin_m);
853 853
	NEXTADDR(RTA_GATEWAY, sdl_m);
    (1-1/1)