]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r312105,r312162:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 4 Feb 2017 15:52:08 +0000 (15:52 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 4 Feb 2017 15:52:08 +0000 (15:52 +0000)
commit19fc289e80ff1e86b615b9409b52afb1fc9e22fa
tree6f1bb55dbb6a32746aa297421306b0019c5d8923
parentade05701ef8deca9e5ba10355e5607f03115deb5
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@313206 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/inetd/Makefile
usr.sbin/inetd/inetd.c