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:15:06 -0500 |
| commit | eb78bc468effe7ca07f4bf5d62f3f10170e8f64f (patch) | |
| tree | 23a091e1fba566d22ef135155d369278e952dec2 /bgpd/rfapi/rfapi.c | |
| parent | 881f3be07b31f2b2126b8744486388ffeb1f5a5e (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 599d6e88bf..ebd369f3ac 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 && |
