Skip to content

Don't use CLLADDR() on FreeBSD.#65

Open
glebius wants to merge 1 commit intoiij:masterfrom
glebius:master
Open

Don't use CLLADDR() on FreeBSD.#65
glebius wants to merge 1 commit intoiij:masterfrom
glebius:master

Conversation

@glebius
Copy link

@glebius glebius commented May 5, 2025

This macro was removed in FreeBSD 15. There is no reason to use it in this code on any version of FreeBSD. The constness is provided by the const struct sockaddr_dl * pointer. The base type of char of sdl_data gives us all needed address arithmetics, no need to use the relic c_caddr_t.

This macro was removed in FreeBSD 15.  There is no reason to use it
in this code on any version of FreeBSD.  The constness is provided
by the const struct sockaddr_dl * pointer.  The base type of char
of sdl_data gives us all needed address arithmetics, no need to use
the relic c_caddr_t.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant