summaryrefslogtreecommitdiffstats
path: root/vnet/vnet/ip/udp_init.c
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-12-09 09:52:16 -0500
committerDave Barach <dave@barachs.net>2016-12-09 11:47:00 -0500
commitd7cb1b5f22948eba272e1a8844c75a2b87706fc4 (patch)
tree20728b9b0e229ec43587f22fdbbcd4c2552b6965 /vnet/vnet/ip/udp_init.c
parentb78292efdfaf70baf89c778973d4bb3b822e95dd (diff)
Coding standards cleanup for vnet/vnet/ip, VPP-255
Change-Id: I12892fa571cc50e0541d6463a8b68e1b618edd9f Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vnet/vnet/ip/udp_init.c')
-rw-r--r--vnet/vnet/ip/udp_init.c18
1 files changed, 13 insertions, 5 deletions
diff --git a/vnet/vnet/ip/udp_init.c b/vnet/vnet/ip/udp_init.c
index 40ca032923c..1241ca4ab32 100644
--- a/vnet/vnet/ip/udp_init.c
+++ b/vnet/vnet/ip/udp_init.c
@@ -42,17 +42,17 @@
clib_error_t *
udp_init (vlib_main_t * vm)
{
- ip_main_t * im = &ip_main;
- ip_protocol_info_t * pi;
- clib_error_t * error;
+ ip_main_t *im = &ip_main;
+ ip_protocol_info_t *pi;
+ clib_error_t *error;
error = vlib_call_init_function (vm, ip_main_init);
- if (! error)
+ if (!error)
{
pi = ip_get_protocol_info (im, IP_PROTOCOL_UDP);
if (pi == 0)
- return clib_error_return (0, "UDP protocol info AWOL");
+ return clib_error_return (0, "UDP protocol info AWOL");
pi->format_header = format_udp_header;
pi->unformat_pg_edit = unformat_pg_udp_header;
}
@@ -61,3 +61,11 @@ udp_init (vlib_main_t * vm)
}
VLIB_INIT_FUNCTION (udp_init);
+
+/*
+ * fd.io coding-style-patch-verification: ON
+ *
+ * Local Variables:
+ * eval: (c-set-style "gnu")
+ * End:
+ */