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 }, \ } \ }