From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Sven Eckelmann Subject: Re: [PATCH v4] alfred: introduce 'server status' IPC call Date: Tue, 22 Feb 2022 00:23:00 +0100 Message-ID: <16344215.j3Ck3xriDr@sven-l14> In-Reply-To: <2116595.VMJfFIaldL@rousseau> References: <20220220183614.54865-1-mareklindner@neomailbox.ch> <49865018.WmOq9pY62i@ripper> <2116595.VMJfFIaldL@rousseau> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart20119176.fR0bjONF2F"; micalg="pgp-sha512"; protocol="application/pgp-signature" Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: To: b.a.t.m.a.n@lists.open-mesh.org, Marek Lindner --nextPart20119176.fR0bjONF2F Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org, Marek Lindner Subject: Re: [PATCH v4] alfred: introduce 'server status' IPC call Date: Tue, 22 Feb 2022 00:23:00 +0100 Message-ID: <16344215.j3Ck3xriDr@sven-l14> In-Reply-To: <2116595.VMJfFIaldL@rousseau> References: <20220220183614.54865-1-mareklindner@neomailbox.ch> <49865018.WmOq9pY62i@ripper> <2116595.VMJfFIaldL@rousseau> On Tuesday, 22 February 2022 00:19:43 CET Marek Lindner wrote: > Your proposal did no compile and the master branch now also does not compile > on ipq40xx: > > unix_sock.c: In function 'unix_sock_server_status': > alfred.h:34:46: error: 'status_op_mode' is a pointer; did you mean to use '->'? > htons(sizeof(__tlv_type) - sizeof(__tlv_type.header)) Are you sure you are using the master branch? Because the macro looks quite different to what you are showing here. See https://git.open-mesh.org/alfred.git/blob/5a7d28b1866d1ba13f570551cea177187f9e54ff:/alfred.h#l33 and the commit https://git.open-mesh.org/alfred.git/commit/f9cf9d22c8bdc8c675c5080d9a26a21082aa1d77 which changed the macro. Kind regards, Sven --nextPart20119176.fR0bjONF2F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEF10rh2Elc9zjMuACXYcKB8Eme0YFAmIUHtQACgkQXYcKB8Em e0a0sg/5Ac9WkZH1Jvz6b5rrD+12cfYv1rRytFlu7YeBa44tilSmeQsKzFMAwIh8 zWnq5tMgyApDYU4vH2KpNRzjYWiYhOVcwvJ8i5lUA7G7IVMCOhHkLnjS8moMc+r4 5A+qTWBgxXTBrLQHoKw6teVVe7uElfqrfIFN7cGEwaUBnRSEv7XWlRnyawLYVVea WAaYiotRINBGZqoOxixAfUFlswMCCaZtm6JQI/I2Tk2vDacRg7+phvI0T/EFQC0x MrT2jpimk9yQM4vfnohxigJ1SnQ52ngMHNltqpu08uzX2vs/cVMno6kqXvuBPYRc gwaTkePeEEZ04ZB4iMXBstYMIJ9mVS5KBrqD/Q2KBJ2ImTOaEpwVUogxbBrKlcmR lO0xlXlc1An6ZGFxSulbP0wiyI/sZoQqWWwZUNDRk223mVvUcE+E5Hj+n1hx0A55 PdD5fc/gLvN30sajuD6LLvgJuErIQYhg0HggvmGCNVXQG8moGEmmAuKGdlWatbry kbVwZowHvHXqBem1V2K0YdkdaX65W8ds2ttjp7cqXRnzIloFuadxsZWA74+354yD EzPg8Pf9rXeaKRorPaHqbYh5CsQarqyIQoB24iGWpXCk6kGVLSmaIVqRq1IDTvAp 6f42+NvFwiVQ3Mkqrkkj/RT5ihVn1wjmGvl4Ynz4YAEOpWvgHuc= =+iPI -----END PGP SIGNATURE----- --nextPart20119176.fR0bjONF2F--