diff options
-rw-r--r-- | zebra/rt_netlink.c | 1 | ||||
-rw-r--r-- | zebra/zebra_rib.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index 850a271e..b7ab7607 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -984,7 +984,6 @@ netlink_link_change (struct sockaddr_nl *snl, struct nlmsghdr *h) zlog_info ("interface %s index %d %s added.", name, ifi->ifi_index, if_flag_dump(new_flags)); - ifp->flags = new_flags; ifp->mtu6 = ifp->mtu = mtu; diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 29b66268..521bf8b3 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -1705,6 +1705,7 @@ rib_add_ipv4 (int type, int flags, struct prefix_ipv4 *p, /* Allocate new rib structure. */ rib = XCALLOC (MTYPE_RIB, sizeof (struct rib)); + rib->type = type; rib->distance = distance; rib->flags = flags; |