Page MenuHomeFreeBSD

Make most of the CLIP code conditional on #ifdef INET6.
ClosedPublic

Authored by jhb on Thu, Nov 29, 11:02 PM.

Details

Summary

This fixes builds of kernels without INET6 such as LINT-NOINET6.

Reported by: arybchik

Test Plan
  • build LINT, LINT-NOINET, LINT-NOINET6, LINT-NOIP kernels
  • boot a patched GENERIC kernel, configure cc0 with an IPv6 address and verify correct entries via dev.t6nex.0.misc.clip sysctl

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jhb created this revision.Thu, Nov 29, 11:02 PM
np accepted this revision.Thu, Nov 29, 11:05 PM
This revision is now accepted and ready to land.Thu, Nov 29, 11:05 PM
This revision was automatically updated to reflect the committed changes.