Page MenuHomeFreeBSD

divert: unbreak the LINT-NOIP build
ClosedPublic

Authored by ngie on Thu, Feb 26, 11:08 PM.

Details

Summary

Only expose dcb when either INET or INET6 is defined.

Reported by: clang (-Wunused)
MFC after: 1 week
Fixes 5547a7bb39 ("divert: Use a better source identifier...")

Test Plan

LINT-NOIP builds again with make tinderbox on amd64/arm64.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable