Portability fixes.

This commit is contained in:
Martin Mares 1999-04-01 15:35:15 +00:00
parent abae6e9cd3
commit e4241f24f2

View file

@ -7,6 +7,7 @@
*/
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/ioctl.h>
@ -45,7 +46,7 @@ static void
krt_ioctl(int ioc, rte *e, char *name)
{
net *net = e->net;
struct rtentry re;
struct ortentry re;
rta *a = e->attrs;
bzero(&re, sizeof(re));