Skip to content

Define ALL_VIFS if necessary - #224

Merged
troglobit merged 1 commit into
troglobit:masterfrom
bluhm:include-in6var
Jul 18, 2026
Merged

Define ALL_VIFS if necessary#224
troglobit merged 1 commit into
troglobit:masterfrom
bluhm:include-in6var

Conversation

@bluhm

@bluhm bluhm commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Linux defines both ALL_MIFS and ALL_VIFS. FreeBSD has only ALL_VIFS in its headers. OpenBSD does not know any of them. Reuse the trick from ALL_MIFS and set ALL_VIFS to -1 in iface.h if it is not defined.

Linux defines both ALL_MIFS and ALL_VIFS.  FreeBSD has only ALL_VIFS
in its headers.  OpenBSD does not know any of them.  Reuse the trick
from ALL_MIFS and set ALL_VIFS to -1 in iface.h if it is not defined.

Signed-off-by: Alexander Bluhm <bluhm@openbsd.org>
@troglobit
troglobit merged commit 2c6a1f2 into troglobit:master Jul 18, 2026
2 checks passed
@bluhm
bluhm deleted the include-in6var branch July 19, 2026 07:31
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.

2 participants