Rename device class from PPPPOE to PPPoE 81/15081/2
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Mon, 1 Oct 2018 15:36:26 +0000 (08:36 -0700)
committerDamjan Marion <dmarion@me.com>
Mon, 1 Oct 2018 17:07:24 +0000 (17:07 +0000)
Change-Id: Ia20eee6cef360b1acd768101df0713f0005a7d14
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
src/plugins/pppoe/pppoe.c
src/plugins/pppoe/pppoe_decap.c

index 823fa1c..d73a718 100644 (file)
@@ -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
index 02c8271..4f9e766 100644 (file)
@@ -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)?