diff options
-rw-r--r-- | interface-ip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-ip.c b/interface-ip.c index fa84fc7..0610ffd 100644 --- a/interface-ip.c +++ b/interface-ip.c @@ -270,6 +270,7 @@ interface_handle_subnet_route(struct interface *iface, struct device_addr *addr, struct device *dev = iface->l3_dev.dev; struct device_route route; + memset(&route, 0, sizeof(route)); route.iface = iface; route.flags = addr->flags; route.mask = addr->mask; |