summaryrefslogtreecommitdiff
path: root/bgpd/rfapi/rfapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/rfapi/rfapi.c')
-rw-r--r--bgpd/rfapi/rfapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/rfapi/rfapi.c b/bgpd/rfapi/rfapi.c
index 510fbc27a4..ffd4e3e323 100644
--- a/bgpd/rfapi/rfapi.c
+++ b/bgpd/rfapi/rfapi.c
@@ -1170,7 +1170,7 @@ add_vnc_route (
/* save backref to rfapi handle */
assert (bgp_info_extra_get (new));
new->extra->vnc.export.rfapi_handle = (void *) rfd;
- encode_label (label_val, new->extra->tag);
+ encode_label (label_val, &new->extra->label);
/* debug */
@@ -1197,7 +1197,7 @@ add_vnc_route (
bgp, prd, table, p, new);
}
bgp_unlock_node (prn);
- encode_label (label_val, bn->local_label);
+ encode_label (label_val, &bn->local_label);
}
bgp_unlock_node (bn);