From: Artem Glazychev Date: Mon, 28 Sep 2020 12:34:23 +0000 (+0700) Subject: wireguard: fix indents X-Git-Tag: v21.06-rc0~446 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=8bac1e8c868eea25f881f6b235df152f46382a1a;p=vpp.git wireguard: fix indents Type: fix Signed-off-by: Artem Glazychev Change-Id: I84cd7b08eac62160cf407409d32dd40cec7ae9d6 --- diff --git a/src/plugins/wireguard/wireguard_handoff.c b/src/plugins/wireguard/wireguard_handoff.c index 8a2efa508b3..2c310a29dc0 100644 --- a/src/plugins/wireguard/wireguard_handoff.c +++ b/src/plugins/wireguard/wireguard_handoff.c @@ -158,35 +158,49 @@ VLIB_NODE_FN (wg_output_tun_handoff) (vlib_main_t * vm, WG_HANDOFF_OUT_TUN); } +/* *INDENT-OFF* */ VLIB_REGISTER_NODE (wg_handshake_handoff) = { - .name = "wg-handshake-handoff",.vector_size = sizeof (u32),.format_trace = - format_wg_handoff_trace,.type = VLIB_NODE_TYPE_INTERNAL,.n_errors = - ARRAY_LEN (wg_handoff_error_strings),.error_strings = - wg_handoff_error_strings,.n_next_nodes = 1,.next_nodes = - { - [0] = "error-drop",} -,}; + .name = "wg-handshake-handoff", + .vector_size = sizeof (u32), + .format_trace = format_wg_handoff_trace, + .type = VLIB_NODE_TYPE_INTERNAL, + .n_errors = ARRAY_LEN (wg_handoff_error_strings), + .error_strings = wg_handoff_error_strings, + .n_next_nodes = 1, + .next_nodes = { + [0] = "error-drop", + }, +}; VLIB_REGISTER_NODE (wg_input_data_handoff) = { - .name = "wg-input-data-handoff",.vector_size = sizeof (u32),.format_trace = - format_wg_handoff_trace,.type = VLIB_NODE_TYPE_INTERNAL,.n_errors = - ARRAY_LEN (wg_handoff_error_strings),.error_strings = - wg_handoff_error_strings,.n_next_nodes = 1,.next_nodes = - { - [0] = "error-drop",} -,}; + .name = "wg-input-data-handoff", + .vector_size = sizeof (u32), + .format_trace = format_wg_handoff_trace, + .type = VLIB_NODE_TYPE_INTERNAL, + .n_errors = ARRAY_LEN (wg_handoff_error_strings), + .error_strings = wg_handoff_error_strings, + .n_next_nodes = 1, + .next_nodes = { + [0] = "error-drop", + }, +}; VLIB_REGISTER_NODE (wg_output_tun_handoff) = { - .name = "wg-output-tun-handoff",.vector_size = sizeof (u32),.format_trace = - format_wg_handoff_trace,.type = VLIB_NODE_TYPE_INTERNAL,.n_errors = - ARRAY_LEN (wg_handoff_error_strings),.error_strings = - wg_handoff_error_strings,.n_next_nodes = 1,.next_nodes = - { - [0] = "error-drop",} -,}; + .name = "wg-output-tun-handoff", + .vector_size = sizeof (u32), + .format_trace = format_wg_handoff_trace, + .type = VLIB_NODE_TYPE_INTERNAL, + .n_errors = ARRAY_LEN (wg_handoff_error_strings), + .error_strings = wg_handoff_error_strings, + .n_next_nodes = 1, + .next_nodes = { + [0] = "error-drop", + }, +}; +/* *INDENT-ON* */ /* * fd.io coding-style-patch-verification: ON