]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Apply uncrustify changes that were forgotten in the FreeBSD DCO 1/2 patch.
authorGert Doering <gert@greenie.muc.de>
Sat, 13 Aug 2022 12:44:38 +0000 (14:44 +0200)
committerGert Doering <gert@greenie.muc.de>
Sat, 13 Aug 2022 12:44:38 +0000 (14:44 +0200)
commit f08fcc2f1eb159 has a few whitespace errors that uncrustify
complained on merge, but due to git handling mistakes, these were not
properly included in the actual commit.  Fix.

Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ovpn_dco_freebsd.h

index abebbb780205031ea84895e50d09f28f0e43c175..7ceec06e6bd2a1ed7ee292eb56a454b472f0e7f7 100644 (file)
 #include <netinet/in.h>
 
 /* Maximum size of an ioctl request. */
-#define OVPN_MAX_REQUEST_SIZE  4096
+#define OVPN_MAX_REQUEST_SIZE   4096
 
 enum ovpn_notif_type {
-       OVPN_NOTIF_DEL_PEER,
+    OVPN_NOTIF_DEL_PEER,
 };
 
 enum ovpn_key_slot {
-       OVPN_KEY_SLOT_PRIMARY   = 0,
-       OVPN_KEY_SLOT_SECONDARY = 1
+    OVPN_KEY_SLOT_PRIMARY   = 0,
+    OVPN_KEY_SLOT_SECONDARY = 1
 };
 
 enum ovpn_key_cipher {
-       OVPN_CIPHER_ALG_NONE                    = 0,
-       OVPN_CIPHER_ALG_AES_GCM                 = 1,
-       OVPN_CIPHER_ALG_CHACHA20_POLY1305       = 2
+    OVPN_CIPHER_ALG_NONE                    = 0,
+    OVPN_CIPHER_ALG_AES_GCM                 = 1,
+    OVPN_CIPHER_ALG_CHACHA20_POLY1305       = 2
 };
 
-#define OVPN_NEW_PEER          _IO  ('D', 1)
-#define OVPN_DEL_PEER          _IO  ('D', 2)
-#define OVPN_GET_STATS         _IO  ('D', 3)
-#define OVPN_NEW_KEY           _IO  ('D', 4)
-#define OVPN_SWAP_KEYS         _IO  ('D', 5)
-#define OVPN_DEL_KEY           _IO  ('D', 6)
-#define OVPN_SET_PEER          _IO  ('D', 7)
-#define OVPN_START_VPN         _IO  ('D', 8)
-#define OVPN_SEND_PKT          _IO  ('D', 9)
-#define OVPN_POLL_PKT          _IO  ('D', 10)
-#define OVPN_GET_PKT           _IO  ('D', 11)
+#define OVPN_NEW_PEER           _IO('D', 1)
+#define OVPN_DEL_PEER           _IO('D', 2)
+#define OVPN_GET_STATS          _IO('D', 3)
+#define OVPN_NEW_KEY            _IO('D', 4)
+#define OVPN_SWAP_KEYS          _IO('D', 5)
+#define OVPN_DEL_KEY            _IO('D', 6)
+#define OVPN_SET_PEER           _IO('D', 7)
+#define OVPN_START_VPN          _IO('D', 8)
+#define OVPN_SEND_PKT           _IO('D', 9)
+#define OVPN_POLL_PKT           _IO('D', 10)
+#define OVPN_GET_PKT            _IO('D', 11)
 
-#endif
+#endif /* ifndef _NET_IF_OVPN_H_ */