]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commit
Fix invalid pointer type for dns
authorMichael Pucher <contact@cluo.sh>
Sun, 8 Dec 2024 11:02:04 +0000 (12:02 +0100)
committerRazvan Deaconescu <razvand@unikraft.io>
Thu, 19 Dec 2024 15:27:42 +0000 (17:27 +0200)
commit0d1e874287cc1327ba934ff2fe97886f92e2d53a
treeba48cde55e3b1d63ed1ee718e13b343a8ff62696
parent5926e399b02d0c48855e2c54b4104ba3197a0b65
Fix invalid pointer type for dns

The invalid pointer warning becomes an error in gcc14, and it turns out
it's actually an invalid pointer, because it expects a pointer to a
struct with a type tag and not just the IPv4 address, if we have IPv4
and IPv6 enabled (otherwise it typedefs to the IPv4 address and
everything is fine).

Github-fixes: #59
Signed-off-by: Michael Pucher <contact@cluo.sh>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #60
init.c