Merging husarnet join with another project tun.cpp error

Good morning
I am using esp-idf platform and would like to merge husarnet-join with a wifi passthrough project.
i get this error in the file: managed_components/husarnet__esp_husarnet/husarnet/core/husarnet/ports/esp32/tun.cpp:248:6
error: ‘esp_netif_add_ip6_address’ was not declared in this scope; did you mean ‘netif_add_ip6_address’?
248 | if(esp_netif_add_ip6_address(husarnet_esp_netif, ip6_addr_esp, true) !=
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| netif_add_ip6_address

any help appreciated

Hello,

What version of the ESP-IDF framework are you using? It seems that it does not contain changes related to the ESP-NETIF subsystem that were introduced some time ago. Unfortunately, I wasn’t able to replicate the issue under IDF 5.3 and 5.4.

Please make sure that you are using latest stable ESP-IDF release and esp_husarnet component release. If you encounter any other issues please let me know.

Milosz

Good morning

Thanks for the reply.
I was using the newest versions (esp-idf 5.4). I tried to use esp-idf 4.4.8 to see if the serial passthrough project preferred an older version of the esp-idf software but that didn’t work either.

It would be helpful if there were a few more husarnet project examples other than a simple webserver or a ssh login with raspberry pi.

will have to shelf my business idea for time being.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.