Skip to content

Commit

Permalink
Looks like we need to accept() connections on systemd socket.
Browse files Browse the repository at this point in the history
Reported by:    Donat Zenichev <donat.zenichev@gmail.com>
  • Loading branch information
sobomax committed Jun 29, 2019
1 parent 3195284 commit eeed09e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rtpp_controlfd.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ struct rtpp_ctrl_sock {
#define RTPP_CTRL_ISDG(rcsp) ((rcsp)->type == RTPC_UDP4 || (rcsp)->type == RTPC_UDP6)
#define RTPP_CTRL_ISUNIX(rcsp) ((rcsp)->type == RTPC_IFSUN || (rcsp)->type == RTPC_IFSUN_C)
#define RTPP_CTRL_ISSTREAM(rcsp) ((rcsp)->type == RTPC_IFSUN_C || (rcsp)->type == RTPC_STDIO \
|| (rcsp)->type == RTPC_TCP4 || (rcsp)->type == RTPC_TCP6)
|| (rcsp)->type == RTPC_TCP4 || (rcsp)->type == RTPC_TCP6 || (rcsp)->type == RTPC_SYSD)
#define RTPP_CTRL_ACCEPTABLE(rcsp) ((rcsp)->type == RTPC_IFSUN || (rcsp)->type == RTPC_IFSUN_C \
|| (rcsp)->type == RTPC_TCP4 || (rcsp)->type == RTPC_TCP6)
|| (rcsp)->type == RTPC_TCP4 || (rcsp)->type == RTPC_TCP6 || (rcsp)->type == RTPC_SYSD)

int rtpp_controlfd_init(struct cfg *cf);
struct rtpp_ctrl_sock *rtpp_ctrl_sock_parse(const char *);
Expand Down

0 comments on commit eeed09e

Please sign in to comment.