Whack this code with the Blessed Wand of Stack Protection.

MFC After:	1 week
This commit is contained in:
Kris Kennaway 2001-08-08 22:27:02 +00:00
parent 5455cc1ae9
commit e936510703
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81312

View File

@ -95,7 +95,7 @@ ray_getval(char *iface, struct ray_param_req *rreq)
bzero((char *)&ifr, sizeof(ifr));
strcpy(ifr.ifr_name, iface);
strlcpy(ifr.ifr_name, iface, IFNAMSIZ);
ifr.ifr_data = (caddr_t)rreq;
s = socket(AF_INET, SOCK_DGRAM, 0);