diff options
author | Neale Ranns <nranns@cisco.com> | 2017-08-09 05:35:02 -0700 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2017-08-09 05:35:02 -0700 |
commit | 024064d0a944495de2bab839f96ebb9d06ecdb90 (patch) | |
tree | 6a52d0a29dc7492fa625283ae6a05e48835d990b /src | |
parent | 62f9cdd82c52dc05cb89a742d21aba013ce526d4 (diff) |
PPPoE: use DPO protos in FIB entry path add/remove
Change-Id: I6ac10ec0adf179b86f97269bbce2a7fd8796e72a
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/pppoe/pppoe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/pppoe/pppoe.c b/src/plugins/pppoe/pppoe.c index 4c63902a751..cb587e2934b 100644 --- a/src/plugins/pppoe/pppoe.c +++ b/src/plugins/pppoe/pppoe.c @@ -291,7 +291,8 @@ int vnet_pppoe_add_del_session /* add reverse route for client ip */ fib_table_entry_path_add (a->decap_fib_index, &pfx, FIB_SOURCE_PLUGIN_HI, FIB_ENTRY_FLAG_NONE, - pfx.fp_proto, &pfx.fp_addr, sw_if_index, ~0, + fib_proto_to_dpo (pfx.fp_proto), + &pfx.fp_addr, sw_if_index, ~0, 1, NULL, FIB_ROUTE_PATH_FLAG_NONE); } @@ -322,7 +323,7 @@ int vnet_pppoe_add_del_session /* delete reverse route for client ip */ fib_table_entry_path_remove (a->decap_fib_index, &pfx, FIB_SOURCE_PLUGIN_HI, - pfx.fp_proto, + fib_proto_to_dpo (pfx.fp_proto), &pfx.fp_addr, sw_if_index, ~0, 1, FIB_ROUTE_PATH_FLAG_NONE); |