summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Glazychev <artem.glazychev@xored.com>2020-09-28 19:34:23 +0700
committerDamjan Marion <dmarion@me.com>2020-09-29 09:01:40 +0000
commit8bac1e8c868eea25f881f6b235df152f46382a1a (patch)
tree70a1f2cad0561c50c16fbb8df41730020bc89755
parent6bdfcd429f6e0c98d3ff617cffc6d030ec71f660 (diff)
wireguard: fix indents
Type: fix Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> Change-Id: I84cd7b08eac62160cf407409d32dd40cec7ae9d6
-rw-r--r--src/plugins/wireguard/wireguard_handoff.c56
1 files changed, 35 insertions, 21 deletions
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