diff --git a/README.md b/README.md index b753add..eb10d37 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,15 @@ Add the following snippet to your ESPHome `yaml` file: ```yaml external_components: - - source: - type: git - url: https://github.com/droscy/esphome - ref: wireguard/main + - source: github://pr#4256 components: [wireguard] + + # or use my repo with code possibly not yet merged in official PR + #- source: + # type: git + # url: https://github.com/droscy/esphome + # ref: wireguard/main + # components: [wireguard] ``` and then read the [preview](https://deploy-preview-2948--esphome.netlify.app/components/wireguard.html) diff --git a/library.json b/library.json index b0763cf..e289fb0 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "esp_wireguard", - "version": "0.3.2-beta1", + "version": "0.3.2-beta2", "description": "WireGuard implementation for ESPHome", "keywords":[ "communication", diff --git a/src/wireguardif.c b/src/wireguardif.c index a3f82aa..d690ac2 100644 --- a/src/wireguardif.c +++ b/src/wireguardif.c @@ -947,7 +947,7 @@ err_t wireguardif_init(struct netif *netif) { // list of interfaces to try to bind wireguard to const char* ifkeys[2] = {"WIFI_STA_DEF", "ETH_DEF"}; - + // ifkey will contain the selected interface key const char* ifkey = NULL;