summaryrefslogtreecommitdiff
path: root/src/openvpn/ping.h
diff options
context:
space:
mode:
authorAlberto Gonzalez Iniesta <agi@inittab.org>2016-12-27 18:25:47 +0100
committerAlberto Gonzalez Iniesta <agi@inittab.org>2016-12-27 18:25:47 +0100
commit79f3537f69e125f19f59c36aa090120a63186a54 (patch)
tree2089a3b7dac990841dbc2e4d9b2f535b82dbb0af /src/openvpn/ping.h
parentf2137fedb30cb87448eb03b2f288920df6187571 (diff)
parent3a2bbdb05ca6a6996e424c9fb225cb0d53804125 (diff)
Merge tag 'upstream/2.4.0'
Upstream version 2.4.0
Diffstat (limited to 'src/openvpn/ping.h')
-rw-r--r--src/openvpn/ping.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/openvpn/ping.h b/src/openvpn/ping.h
index 88f5f3a..e839ce7 100644
--- a/src/openvpn/ping.h
+++ b/src/openvpn/ping.h
@@ -5,7 +5,7 @@
* packet encryption, packet authentication, and
* packet compression.
*
- * Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <sales@openvpn.net>
+ * Copyright (C) 2002-2017 OpenVPN Technologies, Inc. <sales@openvpn.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
@@ -39,9 +39,9 @@ extern const uint8_t ping_string[];
#define PING_STRING_SIZE 16
static inline bool
-is_ping_msg (const struct buffer* buf)
+is_ping_msg(const struct buffer *buf)
{
- return buf_string_match (buf, ping_string, PING_STRING_SIZE);
+ return buf_string_match(buf, ping_string, PING_STRING_SIZE);
}
#endif