lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] LWIP_HOOK_DHCP6_APPEND_OPTIONS parameter `options_out_len`


From: Craig McQueen
Subject: [lwip-devel] LWIP_HOOK_DHCP6_APPEND_OPTIONS parameter `options_out_len`
Date: Mon, 15 Aug 2022 08:01:17 +0000

I'm trying to implement an `LWIP_HOOK_DHCP6_APPEND_OPTIONS`. But, when I do so, I get a compile warning for the parameter `options_out_len` in `dhcp6.c`.

    passing argument 6 of 'dhcp6_extra_hook_append_options' makes pointer from integer without a cast [-Wint-conversion]

It looks as though `dhcp6_information_request()` should be calling the hook with `&options_out_len` rather than just `options_out_len`.

--
Craig McQueen



 
 

 

Craig McQueen
Embedded Systems Engineer

t
e
w
:
:
:
+61 3 9780 4378
craig.mcqueen@innerrange.com
innerrange.com
 Inner Range • 1 Millennium Court • Knoxfield • Victoria • 3180 • Australia 

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]