From 8bd4712677ba0d8cf323fafdea4a1d6ecde2dff9 Mon Sep 17 00:00:00 2001 From: David Cermak Date: Mon, 25 Mar 2024 12:48:41 +0100 Subject: [PATCH] fix(eppp): Fixed defalt config designated init issue in C++ --- components/eppp_link/include/eppp_link.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/eppp_link/include/eppp_link.h b/components/eppp_link/include/eppp_link.h index 1324f7cde..e97051312 100644 --- a/components/eppp_link/include/eppp_link.h +++ b/components/eppp_link/include/eppp_link.h @@ -35,8 +35,8 @@ .priority = 8, \ }, \ . ppp = { \ - .our_ip4_addr.addr = our_ip, \ - .their_ip4_addr.addr = their_ip, \ + .our_ip4_addr = { .addr = our_ip }, \ + .their_ip4_addr = { .addr = their_ip }, \ } \ }