diff --git a/src/wireguard/esp_wireguard/esp_wireguard/include/esp_wireguard.h b/src/wireguard/esp_wireguard/esp_wireguard/include/esp_wireguard.h index 3a4b6b9..7add4a5 100644 --- a/src/wireguard/esp_wireguard/esp_wireguard/include/esp_wireguard.h +++ b/src/wireguard/esp_wireguard/esp_wireguard/include/esp_wireguard.h @@ -39,19 +39,6 @@ extern "C" { #include #include -#define ESP_WIREGUARD_CONFIG_DEFAULT() { \ - .private_key = NULL, \ - .listen_port = 0, \ - .fw_mark = 0, \ - .public_key = NULL, \ - .preshared_key = NULL, \ - .allowed_ip = NULL, \ - .allowed_ip_mask = NULL, \ - .endpoint = NULL, \ - .port = 51820, \ - .persistent_keepalive = 0, \ -} - typedef struct { /* interface config */ char* private_key; /**< a base64 private key generated by wg genkey. Required. */