From: Gert Doering Date: Sat, 13 Aug 2022 12:44:38 +0000 (+0200) Subject: Apply uncrustify changes that were forgotten in the FreeBSD DCO 1/2 patch. X-Git-Tag: v2.6_beta1~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=702a4a2c237842bb4adef5de98d82746e5715f78;p=thirdparty%2Fopenvpn.git Apply uncrustify changes that were forgotten in the FreeBSD DCO 1/2 patch. 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 --- diff --git a/src/openvpn/ovpn_dco_freebsd.h b/src/openvpn/ovpn_dco_freebsd.h index abebbb780..7ceec06e6 100644 --- a/src/openvpn/ovpn_dco_freebsd.h +++ b/src/openvpn/ovpn_dco_freebsd.h @@ -32,33 +32,33 @@ #include /* 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_ */