summary refs log tree commit diff
path: root/config.h
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2025-12-05 14:30:53 +0300
committerNakidai <nakidai@disroot.org>2025-12-05 14:30:53 +0300
commit226096ac0275e6aadf3ff9459e130e6dd1821934 (patch)
tree412e00eafa16477c5377f03fca011987d279f045 /config.h
parent8231f3bef51e0d30eec41aab78631c29b00db491 (diff)
downloadfatvpn-dev.tar.gz
fatvpn-dev.zip
Port fatvpn.c tp OpenBSD dev
Haven't tasted yet, though
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index f04c1d2..55d0c6c 100644
--- a/config.h
+++ b/config.h
@@ -4,6 +4,9 @@
 
 /* do not forget to set MTU on tap: MAX_PKT_SZ - HMAC_SZ - NONCE_SZ - 14 */
 #define MAX_PKT_SZ 1440
+#ifdef __OpenBSD__
+#define MAX_TAPPATH_SZ 32
+#endif
 
 /* comment line below to disable ipv6 entirely */
 #define ENABLE_IPV6