From 346ed07526326f0b1c48ac356d5d786ff9ae0013 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Mon, 1 Oct 2018 08:36:26 -0700 Subject: Rename device class from PPPPOE to PPPoE Change-Id: Ia20eee6cef360b1acd768101df0713f0005a7d14 Signed-off-by: Paul Vinciguerra --- src/plugins/pppoe/pppoe.c | 14 +++++++------- src/plugins/pppoe/pppoe_decap.c | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/plugins/pppoe') diff --git a/src/plugins/pppoe/pppoe.c b/src/plugins/pppoe/pppoe.c index 823fa1c04a3..d73a71857c6 100644 --- a/src/plugins/pppoe/pppoe.c +++ b/src/plugins/pppoe/pppoe.c @@ -85,7 +85,7 @@ pppoe_interface_admin_up_down (vnet_main_t * vnm, u32 hw_if_index, u32 flags) /* *INDENT-OFF* */ VNET_DEVICE_CLASS (pppoe_device_class,static) = { - .name = "PPPPOE", + .name = "PPPoE", .format_device_name = format_pppoe_name, .tx_function = dummy_interface_tx, .admin_up_down_function = pppoe_interface_admin_up_down, @@ -228,7 +228,7 @@ pppoe_update_adj (vnet_main_t * vnm, u32 sw_if_index, adj_index_t ai) /* *INDENT-OFF* */ VNET_HW_INTERFACE_CLASS (pppoe_hw_class) = { - .name = "PPPPOE", + .name = "PPPoE", .format_header = format_pppoe_header_with_length, .build_rewrite = pppoe_build_rewrite, .update_adjacency = pppoe_update_adj, @@ -569,13 +569,13 @@ done: } /*? - * Add or delete a PPPPOE Session. + * Add or delete a PPPoE Session. * * @cliexpar - * Example of how to create a PPPPOE Session: + * Example of how to create a PPPoE Session: * @cliexcmd{create pppoe session client-ip 10.0.3.1 session-id 13 * client-mac 00:01:02:03:04:05 } - * Example of how to delete a PPPPOE Session: + * Example of how to delete a PPPoE Session: * @cliexcmd{create pppoe session client-ip 10.0.3.1 session-id 13 * client-mac 00:01:02:03:04:05 del } ?*/ @@ -611,10 +611,10 @@ show_pppoe_session_command_fn (vlib_main_t * vm, /* *INDENT-ON* */ /*? - * Display all the PPPPOE Session entries. + * Display all the PPPoE Session entries. * * @cliexpar - * Example of how to display the PPPPOE Session entries: + * Example of how to display the PPPoE Session entries: * @cliexstart{show pppoe session} * [0] client-ip 10.0.3.1 session_id 13 encap-if-index 0 decap-vrf-id 13 sw_if_index 5 * local-mac a0:b0:c0:d0:e0:f0 client-mac 00:01:02:03:04:05 diff --git a/src/plugins/pppoe/pppoe_decap.c b/src/plugins/pppoe/pppoe_decap.c index 02c82711ddc..4f9e766e7f1 100644 --- a/src/plugins/pppoe/pppoe_decap.c +++ b/src/plugins/pppoe/pppoe_decap.c @@ -153,7 +153,7 @@ pppoe_input (vlib_main_t * vm, t0 = pool_elt_at_index (pem->sessions, result0.fields.session_index); - /* Pop Eth and PPPPoE header */ + /* Pop Eth and PPPoE header */ vlib_buffer_advance(b0, sizeof(*h0)+sizeof(*pppoe0)); next0 = (ppp_proto0==PPP_PROTOCOL_ip4)? @@ -223,7 +223,7 @@ pppoe_input (vlib_main_t * vm, t1 = pool_elt_at_index (pem->sessions, result1.fields.session_index); - /* Pop Eth and PPPPoE header */ + /* Pop Eth and PPPoE header */ vlib_buffer_advance(b1, sizeof(*h1)+sizeof(*pppoe1)); next1 = (ppp_proto1==PPP_PROTOCOL_ip4)? @@ -325,7 +325,7 @@ pppoe_input (vlib_main_t * vm, t0 = pool_elt_at_index (pem->sessions, result0.fields.session_index); - /* Pop Eth and PPPPoE header */ + /* Pop Eth and PPPoE header */ vlib_buffer_advance(b0, sizeof(*h0)+sizeof(*pppoe0)); next0 = (ppp_proto0==PPP_PROTOCOL_ip4)? -- cgit 1.2.3-korg