Skip to content

Commit

Permalink
remove unneeded conf
Browse files Browse the repository at this point in the history
  • Loading branch information
indexds committed Jan 11, 2025
1 parent f5d1ac0 commit a52af0d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/wireguard/esp_wireguard/esp_wireguard/include/esp_wireguard.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,6 @@ extern "C" {
#include <esp_err.h>
#include <lwip/netif.h>

#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. */
Expand Down

0 comments on commit a52af0d

Please sign in to comment.