mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Portability fixes.
This commit is contained in:
parent
abae6e9cd3
commit
e4241f24f2
@ -7,6 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
@ -45,7 +46,7 @@ static void
|
|||||||
krt_ioctl(int ioc, rte *e, char *name)
|
krt_ioctl(int ioc, rte *e, char *name)
|
||||||
{
|
{
|
||||||
net *net = e->net;
|
net *net = e->net;
|
||||||
struct rtentry re;
|
struct ortentry re;
|
||||||
rta *a = e->attrs;
|
rta *a = e->attrs;
|
||||||
|
|
||||||
bzero(&re, sizeof(re));
|
bzero(&re, sizeof(re));
|
||||||
|
Loading…
Reference in New Issue
Block a user