Page MenuHomeFreeBSD

Fix compilation WITHOUT_{INET,INET6}_SUPPORT or both.
ClosedPublic

Authored by bz on Fri, Mar 1, 2:30 PM.

Details

Summary

buildworld failed when both WITHOUT_INET6_SUPPORT and INET
equivalent were set. Fix netstat and syslogd to make world
compile again.

Test Plan

amd64 buildworlds with one and both options set done.

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

bz created this revision.Fri, Mar 1, 2:30 PM
rgrimes added a subscriber: rgrimes.Fri, Mar 1, 3:14 PM
ngie accepted this revision.Fri, Mar 1, 7:22 PM

Mmmm... I love ifdef soup.

This revision is now accepted and ready to land.Fri, Mar 1, 7:22 PM

Thank you bz@!

This clearly obsoletes part of my review where I conflated a few and I have work to do: https://reviews.freebsd.org/D17040

Are you planning to MFC this?

bz added a comment.Fri, Mar 1, 11:44 PM

This clearly obsoletes part of my review where I conflated a few and I have work to do: https://reviews.freebsd.org/D17040

Oh I forgot about this one. We should sort the remaining parts of yours out as well.

Are you planning to MFC this?

I guess I will eventually at least to 12.

ume accepted this revision.Sun, Mar 3, 2:48 AM

It looks good to me.

hrs accepted this revision.Sun, Mar 3, 3:13 AM
This revision was automatically updated to reflect the committed changes.