]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r312105,r312162:
authorngie <ngie@FreeBSD.org>
Sat, 4 Feb 2017 15:49:50 +0000 (15:49 +0000)
committerngie <ngie@FreeBSD.org>
Sat, 4 Feb 2017 15:49:50 +0000 (15:49 +0000)
commit5f7f855015b0d6e4e3b8884a42299050e79eb889
treef1a7e8f4a4f8eabb2015ceb843d5fa900dd6ca4c
parentd3fc042af1518f7707e62e3e71b088119b19e20d
MFC r312105,r312162:

r312105:

Conditionalize libwrap support into inetd based on MK_TCP_WRAPPERS

This will allow inetd to stand by itself without libwrap.

Relnotes: yes

r312162:

Fix up r312105

- Only #include tcpd.h when LIBWRAP is true to avoid header include errors
- Only define whichaf when LIBWRAP is true to avoid -Wunused warning and
  to avoid issues with structs being defined that should only be defined
  when tcpd.h is included.

Pointyhat to: ngie
usr.sbin/inetd/Makefile
usr.sbin/inetd/inetd.c