diff options
| author | Jafar Al-Gharaibeh <Jafaral@users.noreply.github.com> | 2017-12-19 09:32:11 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-19 09:32:11 -0600 |
| commit | 75d189939829118ca86d70e66cf5cb353d550a40 (patch) | |
| tree | 7fe8173c8858804f7f88b33ad04c092e5bb8270a /zebra/zebra_rib.c | |
| parent | 97c772b30bd54e2282df47c9fa87351fec06e033 (diff) | |
| parent | 2ce92994937427d799d87f79ed894b6b49683225 (diff) | |
Merge pull request #1533 from donaldsharp/REALMS
Add Linux Realms and some Pim Documentation
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 58b6965995..6406386b1a 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -2480,7 +2480,7 @@ void rib_delete(afi_t afi, safi_t safi, vrf_id_t vrf_id, int type, int rib_add(afi_t afi, safi_t safi, vrf_id_t vrf_id, int type, u_short instance, int flags, struct prefix *p, struct prefix_ipv6 *src_p, const struct nexthop *nh, u_int32_t table_id, u_int32_t metric, - u_int32_t mtu, uint8_t distance) + u_int32_t mtu, uint8_t distance, route_tag_t tag) { struct route_entry *re; struct nexthop *nexthop; @@ -2497,6 +2497,7 @@ int rib_add(afi_t afi, safi_t safi, vrf_id_t vrf_id, int type, u_short instance, re->vrf_id = vrf_id; re->nexthop_num = 0; re->uptime = time(NULL); + re->tag = tag; /* Add nexthop. */ nexthop = nexthop_new(); |
