]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
kernel-pfkey: Fix list of extension type names on FreeBSD
authorTobias Brunner <tobias@strongswan.org>
Mon, 29 Jul 2024 12:36:32 +0000 (14:36 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 7 Aug 2024 13:09:45 +0000 (15:09 +0200)
The list was extended earlier this year.

src/libcharon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c

index 9bb67cfce910f60a725dcfeb718ac7beea36f6fd..41e13a832af98fe17180975d829b7e2c9d008a56 100644 (file)
@@ -765,6 +765,11 @@ ENUM(sadb_ext_type_names, SADB_EXT_RESERVED, SADB_EXT_MAX,
        "SADB_X_EXT_SA_REPLAY",
        "SADB_X_EXT_NEW_ADDRESS_SRC",
        "SADB_X_EXT_NEW_ADDRESS_DST",
+#ifdef SADB_X_EXT_IF_HW_OFFL
+       "SADB_X_EXT_LFT_CUR_SW_OFFL",
+       "SADB_X_EXT_LFT_CUR_HW_OFFL",
+       "SADB_X_EXT_IF_HW_OFFL",
+#endif
 #endif /* __linux__ */
 #endif /* __APPLE__ */
 );