diff options
| author | G. Paul Ziemba <paulz@labn.net> | 2017-01-16 11:09:12 -0800 |
|---|---|---|
| committer | Lou Berger <lberger@labn.net> | 2017-01-24 13:42:43 -0500 |
| commit | 28070ee3c43a868644ec7ff91b9fc3b064f9502c (patch) | |
| tree | 48dc313817bcf2dfa2bfeeb228521857cb60fec0 /bgpd/rfapi/rfapi.c | |
| parent | 8074b6fda38eb93e7d81e46f66863919319ce641 (diff) | |
bgpd rfapi: Shift rfapi receive hooks for vpn and encap safis into
bgp_update/bgp_withdraw (Issue #91)
Signed-off-by: G. Paul Ziemba <paulz@labn.net>
Diffstat (limited to 'bgpd/rfapi/rfapi.c')
| -rw-r--r-- | bgpd/rfapi/rfapi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bgpd/rfapi/rfapi.c b/bgpd/rfapi/rfapi.c index 6353f7dacf..25fb7aaf65 100644 --- a/bgpd/rfapi/rfapi.c +++ b/bgpd/rfapi/rfapi.c @@ -417,9 +417,10 @@ del_vnc_route ( { vnc_zlog_debug_verbose - ("%s: trying bi=%p, bi->peer=%p, bi->type=%d, bi->sub_type=%d, bi->extra->vnc.export.rfapi_handle=%p", + ("%s: trying bi=%p, bi->peer=%p, bi->type=%d, bi->sub_type=%d, bi->extra->vnc.export.rfapi_handle=%p, local_pref=%u", __func__, bi, bi->peer, bi->type, bi->sub_type, - (bi->extra ? bi->extra->vnc.export.rfapi_handle : NULL)); + (bi->extra ? bi->extra->vnc.export.rfapi_handle : NULL), + ((bi->attr && CHECK_FLAG(bi->attr->flag, ATTR_FLAG_BIT (BGP_ATTR_LOCAL_PREF)))? bi->attr->local_pref: 0)); if (bi->peer == peer && bi->type == type && |
