summaryrefslogtreecommitdiff
path: root/sysdep/linux
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/linux')
-rw-r--r--sysdep/linux/krt-scan.c2
-rw-r--r--sysdep/linux/netlink/netlink.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdep/linux/krt-scan.c b/sysdep/linux/krt-scan.c
index 85b7af23..3f3def1a 100644
--- a/sysdep/linux/krt-scan.c
+++ b/sysdep/linux/krt-scan.c
@@ -95,7 +95,7 @@ krt_parse_entry(byte *ent, struct krt_proto *p)
a.flags = a.aflags = 0;
a.from = IPA_NONE;
a.iface = NULL;
- a.attrs = NULL;
+ a.eattrs = NULL;
if (flags & RTF_GATEWAY)
{
diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c
index 23e51688..bf619701 100644
--- a/sysdep/linux/netlink/netlink.c
+++ b/sysdep/linux/netlink/netlink.c
@@ -642,7 +642,7 @@ nl_parse_route(struct nlmsghdr *h, int scan)
ra.from = IPA_NONE;
ra.gw = IPA_NONE;
ra.iface = NULL;
- ra.attrs = NULL;
+ ra.eattrs = NULL;
switch (i->rtm_type)
{